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

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Greg Heath
Greg Heath il 12 Lug 2014
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

Più risposte (0)

Categorie

Scopri di più su Sequence and Numeric Feature Data Workflows in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by