GithubHelp home page GithubHelp logo

Comments (5)

benureau avatar benureau commented on June 22, 2024

Code is freshly cloned from bb00cb0

from reservoirpy.

benureau avatar benureau commented on June 22, 2024

Ok, this is solved for me by upgrading scipy and numpy to the latest versions (1.11.2 and 1.26.0, resp.), even though reservoirpy wants scipy<=1.7.3. Consider updating the requirements or adding a warning in the installation section.

from reservoirpy.

benureau avatar benureau commented on June 22, 2024

The segfault was triggered by this line btw:

return linalg.solve(XXT + ridge, YXT.T, assume_a="sym")

Any ideas of issues I might encounter while using a newer scipy?

from reservoirpy.

neuronalX avatar neuronalX commented on June 22, 2024

Hi @benureau, thanks for your interest in reservoirpy and for finding this issue!

Usually this kind of error, related to the regression when training the readout, could come from a bad conditioning of the matrix to be pseudo-inversed or if the size of the training data (nr of timesteps / number of reservoir dimensions) is too big.
Changing the ridge parameter could solve the first problem and reducing the data solve the second kind of problem.
But in your case this seems very related to the version of scipy in which the internal computations of linalg.solve seems to have changed.
No clear idea yet.

from reservoirpy.

PAUL-BERNARD avatar PAUL-BERNARD commented on June 22, 2024

Hello @benureau , thank you for your extensive report.

Even if I wasn't able to reproduce on my machine, which makes it difficult to debug, it seems that this is an issue with older scipy versions (<1.9.0), specifically on the ARM architecture.

As you mentionned, updating your scipy version should fix this. Feel free to reopen if your problem persists on recent scipy versions.

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.