get matlab nural network parameter after training

hi i use neural network of matlab for classification. i want to know how can i store network parameter(such as epoches,time,mse,...)in a matrix after training? thanks alot

 Risposta accettata

The objects net and tr contain all of the parameters needed for training and evaluation The command
net = net
leads to recovering all of the pretraining parameters.
The command
tr = tr
leads to recovering all of the posttraining parameters and results.
Thank you for formally accepting my answer
Greg

Più risposte (2)

Everything you want is usually within the net object. Here is an example:
[x,t] = simplefit_dataset;
net = fitnet(10)
net = train(net,x,t);
net.trainParam
You can access epochs for example as follws:
net.trainParam.epochs
Please, how do I train and store a set of parameters (weights) for my neural network?

Categorie

Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by