plotfit
Purpose
Plot function fit
Syntax
plotfit(net,inputs,targets)
plotfit(net,inputs1,targets1,'name1',inputs2,targets2,'name2',...)
Description
plotfit(NET,INPUTS,TARGETS) plots the output function of a network across the range of the inputs X and also plots target T and output data points associated with values in X. Error bars show the difference between outputs and T.
The plot appears only for networks with 1 input.
Only the first output/targets appear if the network has more than 1 output.
plotfit(targets1,outputs1,'name1',...) plots a series of plots.
Examples
load simplefit_dataset
net = newfit(simplefitInputs,simplefitTargets,20);
[net,tr] = train(net,simplefitInputs,simplefitTargets);
plotfit(net,simplefitInputs,simplefitTargets);
See Also
plottrainstate
| | Provide feedback about this page |
 | plotes | | plotpc |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit