Going from trainNetwork to trainnet

67 Ansichten (letzte 30 Tage)
psousa
psousa am 21 Nov. 2024 um 14:25
Kommentiert: psousa am 21 Nov. 2024 um 15:40
I've attached 3 files(see post below for latest version of these files):
  • trainNetworkEXAMPLE - my original trainNetwork implementation
  • trainnetEXAMPLE - the trainnet implementation
  • example.csv - data file with predictors and targets
The codes for the two examples are identical, the difference is only in the formatting of the input matrices.
trainNetworkEXAMPLE works as expected.
trainnetEXAMPLE works but convergence of the solver is different and solution is poor.
Both codes end with:
Training stopped: Met validation criterion
What am I getting wrong?
  2 Kommentare
Matt J
Matt J am 21 Nov. 2024 um 15:26
Seemingly nothing. Why do you think something is wrong?
psousa
psousa am 21 Nov. 2024 um 15:40
NMSE for training set and test set are considerably worse for version using trainnet.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Image Data Workflows finden Sie in Help Center und File Exchange

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by