Different Plots with the same dara on two different Versions
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I am running the regression learner on two different systems with 2021b and 2021a versions installed. To response plot for the original data is different in both versions.
Even the plot() function for the same data is different. Could you please help me how to solve the issue.
The plot which has line is from v.2021a.
Thanks
Newsha
0 个评论
回答(1 个)
Drew
2023-1-19
In the plot that looks like a line (21a), it looks like the observations in the data have been sorted from lowest to highest value of the response, yTrainN.
In the plot that looks "filled in" (21b), it looks like the values of the response, yTrainN, appear in a random order in the data.
For a more detailed response, please share your data and/or a more detailed view of your workflow. Some questions to consider:
(1) Before loading the data into Regression Learner, was the data sorted differently in R2021a and R2021b?
(2) In the session start dialogue in Regression Learner, were different options selected in R2021a and R2021b?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!