我正在使用 matlab 的神经网络进行分类。
我想知道如何存储网络参数,例如:纪元、时间、MSE等。训练后在矩阵中?
多谢
打电话时train,第二个返回的参数是培训记录,其中包含有关训练的纪元、时间和其他信息。例如
[net,tr] = train(net,data,target);
tr.epoch
tr.time
For the mse,给定测试数据data
, 目标数据target
和神经网络net
:
%run inputs through network
result = net(data);
%get the error
error = result - target;
%calculate mse
mse(error)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)