MATLAB Answers

What is the Horizontal axis represent in R value figure in the ANN fitting?

2 views (last 30 days)
Sunny
Sunny on 12 May 2021
Commented: Sunny on 21 May 2021
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.

Accepted Answer

Aditya Patil
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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by