Comments (3)
I understand that I am not using the library correctly.
I would like to :
- instantiate a reservoir with a defined internal matrix and a defined input matrix,
- feed the reservoir with input step by step (I thought call() was doing exactly that),
- observe the internal states
- and generate the output Wout matrix based on the internal states
However it doesn't seem possible to feed the the reservoir and get the internal states without setting a readout first ?
from reservoirpy.
Hello,
Your usage of node call seems good. What went wrong is the dimension of you input data. For some reason, X_train1[0]
has a shape of (1, 1) (one timestep, 1 variable) but your matrix Win is expecting an input of shape (1, 4) (one timestep, 4 variables). You also probably let the input_bias
parameter to True
in your reservoir, which means that the row of your custom Win
matrix will be considered as a bias vector. (this is a bit odd and will be changed in a future version), hence a Win matrix of dimension (5, 1). This also means that your reservoir is of size 1, which is probably nt what you want to do. Could you give a more complete code example ?
from reservoirpy.
Thanks, I resolve the problem.
It was also linked to this bias parameter that I didn't get right.
from reservoirpy.
Related Issues (20)
- Potential Error in Documentation HOT 1
- Segfault in classification notebook HOT 5
- Save/Load to/from disk HOT 2
- No warning is triggered when non-existing variable name is used
- Autograd - Feature Request HOT 1
- Mmap error with local parallelization with optuna from the tutorial HOT 1
- datasets.narma doesn't return input series HOT 5
- ValueError: Missing input data for node Reservoir-0.
- Fitting a model on non-temporal data HOT 1
- Feature Importance HOT 4
- Small-world reservoir matrices
- Rank list of degree of influence of input variables HOT 1
- I trying to forecast using reservoirpy HOT 1
- how to save and load a prediction model HOT 2
- Is the long term forecasting example opertion explanation correct HOT 3
- Understand and optimize ESN hyperparameters errors HOT 3
- cant do long term forecasting on yahoo stock market data HOT 4
- Creating a reservoir of custom nodes HOT 2
- LMS doesn't work for single node readout HOT 1
- ESN Parameter Effects HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reservoirpy.