GithubHelp home page GithubHelp logo

Comments (7)

nTrouvain avatar nTrouvain commented on July 19, 2024

Hello,
If I understand well your task, you have n multivariate timeseries composed of 4 variables, am I right ?
You can use reservoirpy in this case. Just make sure that you create a Win matrix with an input dimension of 4, using the generate_input_weights function. Some of the tutorials provided in this repository, like the notebook "Introduction to Reservoir Computing", give examples of this use case, making prediction on the Lorenz timeseries. The Lorenz timeseries is of shape (1, t, 3).

from reservoirpy.

nTrouvain avatar nTrouvain commented on July 19, 2024

Closing this issue as the problem seems to be solved.

from reservoirpy.

ZiangXue avatar ZiangXue commented on July 19, 2024

Thank you! About the training function, I have multiple training sequences of different length, so putting them in a list using the train method would raise an error. If I use a for loop to train it for num_sequences iteration, will it overwrite the previous states? or is it ok to do so?

from reservoirpy.

nTrouvain avatar nTrouvain commented on July 19, 2024

Well, it should not raise an error, what version of reserviorpy are you using ? And what is the error you encounter ? Would it be possible for you to provide a code example with the error ?

from reservoirpy.

ZiangXue avatar ZiangXue commented on July 19, 2024

Sorry I replied late. I've identified the error and it was not what I thought it was, so all solved on that.

However, we have observed that the more data we trained the ESN upon, the worse the generation outcomes are. Also, the ESN seem to output something far off the target.

Our dataset contains only Cartesian coordinates normalized to the range [-1, 1], but the ESN output spans [-15, 20], which is clearly off. Any possible idea of why that is?

Our projects rely heavily on reservoirpy, so I'd like to thank you for all the help you offer.

from reservoirpy.

nTrouvain avatar nTrouvain commented on July 19, 2024

Hello,
The question you ask is deeply related to your task and your data. Some hyperparameter tuning is probably necessary, especially to find an optimal value for the spectral radius, the leak rate and the ridge parameter. This way you will probably solve the problem of output outliers, and maybe the generation performance problem. You can see the related notebook in the examples folder of the v0.2.4 version of reservoirpy to find a tutorial on optimization of hyperparameters using hyperopt.

from reservoirpy.

nTrouvain avatar nTrouvain commented on July 19, 2024

Closing this issue again as the problem seems to be solved.

from reservoirpy.

Related Issues (20)

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.