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

 Accepted Answer

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

More Answers (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?

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 28 Jul 2013

Answered:

on 13 Oct 2021

Community Treasure Hunt

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

Start Hunting!