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