Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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.

Respuesta aceptada

Greg Heath
Greg Heath el 3 de Abr. de 2015
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

Más respuestas (0)

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by