how can Levenberg Marquardt algorithm be implemented in script to train a neural network

1 回表示 (過去 30 日間)
I have constructed the network to fit a time series data in script. The network has two hidden layers of size 4 each and want to train it using Levenberg Marquardt algorithm taking mse as the performance. I am seeking help as to how should I implement this algorithm in script as it is not very much clear in MATLAB help. I will be very grateful if you can explain it with a simple example as i am unable to find one. Thank you.

採用された回答

Greg Heath
Greg Heath 2014 年 7 月 12 日
help narxnet doc narxnet
One hidden layer should be sufficient. However you should use the target autocorrelation and target-input crosscorrelation functions to help determine which input and feedback delays to use.
greg narxnet nncorr
Hope this helps.
Thank you for formally accepting my answer
Greg

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by