I am using matlab\'s neural network for classification. I want to know how can I store network parameters such as: epoches, time, mse, etc. In a matrix afte
When calling train, the second returned argument is the training record, this contains the epoches, time and other info about the training. e.g.
[net,tr] = train(net,data,target);
tr.epoch
tr.time
For the mse, given test data data
, target data target
and neural network net
:
%run inputs through network
result = net(data);
%get the error
error = result - target;
%calculate mse
mse(error)