What is the Horizontal axis represent in R value figure in the ANN fitting?
2 views (last 30 days)
Show older comments
I am using the fitting app in Matlab ANN (nnstart), but I am confused about the R value figure generated by the tool after traing. What is the Horizontal axis represent in R value figure in the ANN fitting? For example, the attached figure is R value of a ''body fat'' training example. Why the x-axis range is 0-40 or 0-50? It is not the sample number? How does the x-axis (Target) is obtained? Could anyone help me? Thanks.
0 Comments
Accepted Answer
Aditya Patil
on 17 May 2021
The plot shown is created using plotregression function. It shows relation between the targets on the y axis, and the predicted output on the y axis. the axis limits are based on the limits of these two values. See the following code for example.
targets = randi(100, [1 100]); % expected output
outputs = targets + randi(10, [1 100]); % predicted output
plotregression(targets,outputs)
4 Comments
Aditya Patil
on 21 May 2021
With multiple outputs, you should plot independent plot for each output-target pair. A combined plot simply takes all the values, which won't be meaningful. For example, if one output is age and another output is weight, it doesn't make sense to plot age and weight on the same axis, and fit a regression to it.
More Answers (0)
See Also
Categories
Find more on Linear and Nonlinear Regression in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!