Issue with trainNetwork() function

3 visualizzazioni (ultimi 30 giorni)
Eva
Eva il 20 Lug 2023
Commentato: Eva il 25 Ago 2023
I have imported a trainNetwork image into this question, and hopefully you can see to the right of it, where the simulation ends, as this is the most important part, if this is not visible after I post this question, I will resize and repost the image.
I seem to be getting an accuracy at the end of this simulation, that is performing low and is not following the 'darker blue' trend of this simulation.
Could anyone offer any clues as to what might be going on ?
I am trying to interpret what and how this darker blue field of the training plots means, and why my validation classification rate no longer seems to be tracking the darker blue training performance.
Any clues where I should look would be a great help.
Regards,
Eva Riherd
  1 Commento
Matt J
Matt J il 20 Lug 2023
if this is not visible after I post this question, I will resize and repost the image.
It is not necessary to repost an image if you just want to resize it. That can be done within the post editor.

Accedi per commentare.

Risposta accettata

Matt J
Matt J il 20 Lug 2023
Modificato: Matt J il 20 Lug 2023
I am trying to interpret what and how this darker blue field of the training plots means,
The light blue line measures accuracy based on the current minibatch of training data that is being processed, and the dark blue is a time-smoothed version of that. The black line is the accuracy as measured from your validation data set.
I seem to be getting an accuracy at the end of this simulation, that is performing low and is not following the 'darker blue' trend of this simulation.
I don't think so. The training accuracy plot has some downward dips that, although infrequent, may be large enough to bring the average training accuracy downward, to a level consistent with the validation curve.
Possibly if you shuffle the training datastore, you might get a less spiky training accuracy plot.
  3 Commenti
Matt J
Matt J il 21 Lug 2023
You're welcome, but if the advice worked, please Accept-click the answer.
Eva
Eva il 25 Ago 2023
Much thanks for taking the time to look into this question!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Image Data Workflows in Help Center e File Exchange

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by