Giter Club home page Giter Club logo

deepca_reservoirpy's Introduction

deepCA_reservoirpy

Intended to run on ReservoirPy 0.2.x (tested using 0.2.4) with Python 3.8

Python dependencies:

  • reservoirpy
  • pyreadr
  • sklearn
  • seaborn

Use on Windows

Clone this repo to a local folder and open it in the windows command line

Batch test accuracy of adjacency matrices

Open compare_accuracy_all_matrices.py in a text editor and review the parameters:

  • Path to folder with adjacency matrices
  • Datasets to be used for testing
  • Forecast levels
  • Limit the number of adjacency matrices of each type to test

To run the script from command line a few more parameters are required:

  • Low (-l) where in the list of matrices to start testing
  • High (-h) where in the list of matrices to end testing
  • Output folder (-f) where to save the output data

This is example is run from the command line and will test 1000 matrices from #0 up until #999

python compare_accuracy_all_matrices.py -l 0 -h 1000 -f test_run_accuracy

Run the script from multiple command line windows for parallell processing. ReservoirPy will leave temporary files in C:\Users<your_user>\AppData\Local\Temp\reservoirpy-temp that need to be cleaned manually. Roughy 9 GB for 3500 131x131 matrices testet over 4 forecast levels on Mackey-Glass.

Batch test random hyperparameters

Open hyper_param_random_search.py in a text editor and review the parameters:

  • Path to folder with adjacency matrices
  • Datasets to be used for testing
  • Forecast levels
  • Hyperparameter ranges
  • Number of samples

To run the script from command line a few more parameters are required:

  • Test matrix (-i) name of the adjacency matrix to test
  • Output folder (-f) where to save the output data

This is example is run from the command line and will test "SR_0.9Random1.csv"

python hyper_param_random_search.py -i SR_0.9Random1 -f test_run_hyperparameters

Use on Linux

Similar as on Windows, but use the scripts in the shell_scripts folder. If running a batch that is too large on a single python script, Linux will shut it down. This is because of the excessive amount of temp files reservoirpy will generate without cleaning up.

deepca_reservoirpy's People

Contributors

wehak avatar

Watchers

 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.