![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/620223/image.jpeg)
What is the Horizontal axis represent in R value figure in the ANN fitting?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Sunny
el 12 de Mayo de 2021
Comentada: Sunny
el 21 de Mayo de 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.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/615805/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/615805/image.png)
0 comentarios
Respuesta aceptada
Aditya Patil
el 17 de Mayo de 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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/620223/image.jpeg)
4 comentarios
Aditya Patil
el 21 de Mayo de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Linear and Nonlinear Regression en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!