i have a data set of 9X120. want to use feedforwardnet and want to know how to define dataset such as simplefit_data

 Respuesta aceptada

>> [x,t] = simplefit_dataset;
[I N ] = size(x) % [ 1 94 ]
[O N ] = size(t) % [ 1 94 ]
% Instead of feedforwardnet, use fitnet for curvefitting or patternnet for classification.
net = fitnet;
MSE00 = mean(var(t',1)) % 8.3378
net.trainParam.goal = 0.01*MSE00;
[net tr] = train(net,x,t);
MSE = tr.perf(end) % 0.0202
NMSE = MSE/MSE00 % 0.0024
R2 = 1-NMSE % 0.9976 coefficient of determination (see Wikipedia)
Hope this helps.
Thank you for formally accepting my answer.
Greg

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by