Why can't I use the mae error with the Levenber-Marquardt algorithm?

2 ビュー (過去 30 日間)
Giuseppe D'Amico
Giuseppe D'Amico 2020 年 12 月 4 日
コメント済み: Giuseppe D'Amico 2020 年 12 月 4 日
Hi, I'm training a neural network using a script I got using the matlab tool on neural networks.In particular I am using a timedelaynetwork for the prediction of a historical power series, I modified the network by inserting two hidden layers, one with a logsig activation function and one with a tansig activation function.I am using is the levenberg-marquardt, inserting the mae as a performance function, the message in the figure appears in the command window.
Why can't I use the mae with the trainlm?
Also, I would like to ask you, in your opinion is the architecture and type of network I am using to make the power prediction correct? or could it be improved in some way?

採用された回答

Matt J
Matt J 2020 年 12 月 4 日
編集済み: Matt J 2020 年 12 月 4 日
Why can't I use the mae with the trainlm?
Just a guess, but Levenberg-Marquardt presumes that a Jacobian can be computed at the optimum parameter selection. In the ideal scenario where the optimal MAE=0, the Jacobian would fail to exist, due to the non-differentiability of at .
  3 件のコメント
Matt J
Matt J 2020 年 12 月 4 日
Couldn't you just use trainNetwork, say with its default stochastic gradient descent algorithm?
Giuseppe D'Amico
Giuseppe D'Amico 2020 年 12 月 4 日
I have never used it, would it be okay to use the trainNetwork function to train a network needed to predict a power time series?

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by