Coder Social home page Coder Social logo

evt-ica-simu's Introduction

Triton simu code

This repo was used in executing the simulations for a paper related to extreme value theory and independent component analysis. More generally, it illustrates one way to use a SLURM cluster (such as Aalto University's Triton). The simulation required generating samples independently and evaluating certain statistical quantities from them; the different scenarios were executed in parallel. A setup that solves any "embarrassingly parallel" problem can be built in a similar way and this repo can be useful starting point.

The approach here is simple: Commands of the form

Rscript [arguments]

Were executed, where [arguments] specifies the scenario to simulate. The following files were used for this:

  • simu_round.r contains the simulation code. Additionally it illustrates how to process command line arguments in R.

  • generate_args.py generates the command line arguments that are passed to simu_round.r

  • submit.sbatch submits the job to SLURM and starts the execution

Running the simulation

Run

python generate_args.py

This will generate the command line arguments for the simulation. After the script has been executed, they have appeared in the folder args. To execute the simulation run

sbatch submit.sbatch

The results will appear in folder out.

evt-ica-simu's People

Contributors

mapehe avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.