get matlab nural network parameter after training

11 次查看(过去 30 天)
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

采纳的回答

Greg Heath
Greg Heath 2013-7-30
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

更多回答(2 个)

Shashank Prasanna
Shashank Prasanna 2013-7-28
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

Chika Maduabuchi
Chika Maduabuchi 2021-10-13
Please, how do I train and store a set of parameters (weights) for my neural network?

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by