Clear Filters
Clear Filters

Neural Network data after training

1 view (last 30 days)
Hi, I am completely new in ANN modeling using Matlab. Currently I am trying to make a feedforward network(using newfit) with 15 inputs and a single output. I am using dividerand to randomly divide my data for training, validation and test.
My question is after training the network, if I want to get the target data and network output, what I have to do?
If possible, can anyone post any sample code for ANN other than those explained in help documentation.
Thanks for your help

Accepted Answer

Greg Heath
Greg Heath on 11 Dec 2011
You can find a number of code examples using an older version of MATLAB via searching the Newsgroup using
heath newff clear close
Hope this helps.
Greg
  1 Comment
Arijit
Arijit on 12 Dec 2011
Thanks Greg a lot for your support and suggestion...
Now I have one more doubt. After training I can plot output vs target values. But I want to have this plot (with error bars associated with output values) and target values.
What should be the code to do this?
Thanks

Sign in to comment.

More Answers (1)

Greg Heath
Greg Heath on 13 Dec 2011
It is not clear what you want. In general, for an I-H-O MLP, each target and output are O-dimensional. Do you want a plot for each dimension of the output?
For each output variable you can obtain a scatter plot of output vs target. The vertical distance from a 45-deg line is the error. If you want to add error bars indicating uncertainty, you will have to use the same value for each point, i.e., the RMSE.
Hope this helps.
Greg

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!