get validation loss and metric for the best network
    5 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
How to get the validation loss and metric for the best network.
Example code:
[net_dnn, net_info] = trainnet(inputs,targets,layers,'mse',options);
In the ValidationHistory, I do have the loss and the performance metric for every 50 iterations (ValidationFrequency was 50). As for MSE, I guess I could get the loss by finding the minimum value but is there any other way to get that?
0 Kommentare
Antworten (1)
  Matt J
      
      
 am 13 Jun. 2025
        You would have to interpolate the validation history data at the best MSE, probably. 
But keep in mind, the best MSE does not really correspond to the "best network". It only corresponds to the best minibatch.
Siehe auch
Kategorien
				Mehr zu Image Data Workflows finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

