What are the extra return values of this Neural Network training code?

1 次查看(过去 30 天)
Hello there, i'm analyzing a multilayer perceptron code and cant find what are the extra return values of the train function.
[net,tr,Y,E] = train(net,P,T);
where: net = Feedforward Network. P = inputs array. T = targets array.
Thanks.

采纳的回答

Greg Heath
Greg Heath 2015-4-3
For regression/curve-fitting (e.g., FITNET) and classification/pattern-recognition (e.g., PATTERNNET) with double variables
[ net tr y e ] = train( net, x, t );
% net - trained net
% tr - training record
% y - output y= net( x )
% e - error e = t - y
tr = tr % Command to divulge contents (NO SEMICOLON)
For time-series (e.g., TIMEDELAYNET, NARNET, NARXNET), with cell variables
[ neto tro Yo Eo Xof Aof ] = train( neto, Xo, To, Xoi, Aoi );
% o - openloop subscript
% Xoi - initial input delay state
% Aoi - initial output feedback delay state
% neto - trained openloop net
% tro - training record
% Yo - output Yo = net( Xo, Xoi, Aoi)
% Eo - error Eo = gsubtract( To , Yo)
% Xof - final input delay state
% Aof - final output delay state [ Yo Xof Aof ] = net( Xo, Xoi, Aoi)
Hope this helps.
THANK YOU FOR FORMALLY ACCEPTING MY ANSWER
Greg

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by