Comments (5)
I tried layer normalisation, now the problem as seen in the previous plot (divergence at the end of time step) is solved. So the output seems to be controlled. However, the output plot is just above the desired as shown below.
Anyways, I think i will try some other methods or try types of RNNs like encoder decoder etc. Thanks for your code and will get back to you if some improvement is seen.
from real-time-recurrent-learning.
No, I haven't tried that problem. But I remember encountering issues like these when the reference was varying at a reasonably high rate (like in your case). I had tried solving the issue but things didn't quite work out. Anyways, I'll approach the problem with a fresh perspective and will let you know if I find something new. Cheers :)
from real-time-recurrent-learning.
Thanks for your reply. I tried with couple other problems. I see that this is very sensitive to the initial input.
In the normalization part, would you know how I can normalize the inputs when the data is not available already?. I think you are normalizing the state outputs, control inputs (from the already existing data) and feeding its mean as and when real time data comes.
I have the plant output equation, excitation signal and reference signal equations. So in the already existing data, should I take the running average of the reference signal equation (or plant output equation?) for my case as the mean of state data set output (in your case)?.
The above plot is an issue I am facing now. Would you know why this is?
from real-time-recurrent-learning.
I don't think normalizing using a running average will solve the issue since the normalized variable might diverge from the beginning itself(since the running average will tend towards the true mean later on, but is expected to be far away from it in early stages). You can try though. Regarding your output, I don't know the reason. I guess the model needs to be improved for a varying reference. Feel free to open a pull request if you manage to improve the code.
from real-time-recurrent-learning.
The code is very inspiring! I have also modified your code for the problem example 2 in the IEEE paper, however, I have a disappointing result as is shown in the figure below. I just modified
Plant_output = [0.4*math.sin(math.cos(x[:1]+1.5*x[1:]))]
and
Desired_output = [0.06*math.sin(math.pi*t/80+math.pi/4)+0.3]
and the size of W and W_star to be (1,2) , and I also try to add some hidden neurons , it doesn't work as well. Is anywhere else that needs to be modified? Thank you very much.
from real-time-recurrent-learning.
Related Issues (2)
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 real-time-recurrent-learning.