How can I use gensim neural network generated block for online training the network in simulink?

8 次查看(过去 30 天)
Hi,
I want to deploy online system identification using NN in Simulink using the NARX model, but I do not know how to train a network online in Simulink. By the way, I think the NN block, which can be created using the gensim function, is just a pretrained network and can not be trained online. How can I make NN that can be trained online in Simulink?

回答(1 个)

Ayush Aniket
Ayush Aniket 2025-6-13
There are three ways in which you can train a neural network online in Simulink for system identification using the NARX model:
  1. MATLAB's System Identification Toolbox allows online training of nonlinear models, including NARX networks. You can use the Nonlinear ARX model with adaptive learning to update parameters dynamically. Refer the following documentation: https://www.mathworks.com/help/ident/nonlinear-model-identification.html
  2. Simulink provides adaptive learning blocks that allow online training. You can use Neural State-Space Models or Adaptive Neuro-Fuzzy Inference Systems (ANFIS) for real-time learning. You can read more about it here: https://www.mathworks.com/help/deeplearning/ug/design-time-series-narx-feedback-neural-networks.html
  3. Finally, you can implement an online learning algorithm using MATLAB Function blocks inside Simulink. This requires manually updating weights using backpropagation or reinforcement learning techniques.

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by