ie - input data.
% koefic - target data.=Vifodnie laquo ;;=koefic raquo ;;
% Create a Fitting Network=3;=fitnet (hiddenLayerSize);
% Setup Division of Data for Training, Validation, Testing.divideParam.trainRatio=70/100; .divideParam.valRatio=20/100; .divideParam.testRatio=10/100;
% Train the Network
[net, tr]=train (net, inputs, targets);
% Test the Network=net (inputs);=gsubtract (targets, outputs);=perform (net, targets, outputs);
% View the Network (net)
% Plots
% Uncomment these lines to enable various plots.
% figure, plotperform (tr)
% figure, plottrainstate (tr)
% figure, plotfit (net, inputs, targets)
% figure, plotregression (targets, outputs)
% figure, ploterrhist (errors)