- How often are you wanting to update the neural network model in Simulink?
- How long did the original NN take to train?
- Have your identifies any scenarios where you would trigger a retraining of the NN model?
Adaptive Neural Network Simulink
12 views (last 30 days)
Show older comments
Hassan Iskandarani
on 24 May 2022
Commented: Hassan Iskandarani
on 29 May 2022
how to make the NN that I just created adaptive on Simulink, like it should adjust the weights and biases online? should I use the my precreated neural network and use the genfunction code, and add the adapt function to it? I created the NN using the nntool and exported it to Simulink, but it seems that I cannot control the weights and biases of it anymore, I am very confused I'll appreciate any help thank you
0 Comments
Accepted Answer
David Willingham
on 26 May 2022
HI Hassan,
We do have some informationon incremental learning from MATLAB here: Incremental Learning Overview. But I understand your question is related to Simulink.
For Simulink, incremental learning offers some challenges, so I have some follow up questions for you:
3 Comments
David Willingham
on 26 May 2022
Hi Hassan,
I'd probably recommend using Reinforcement learning for the problem you describe. This example, Tune PI Controller using Reinforcement Learning, shows how to tune a PI controller. In RL, there is an agent that "learns" via simulation how to improve and what it learns is stored in deep learning network.
Is Reinforcement Learning something you'd consider for your application?
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!