Different Plots with the same dara on two different Versions

4 ビュー (過去 30 日間)
New sha Modjrian
New sha Modjrian 2022 年 7 月 26 日
回答済み: Drew 2023 年 1 月 19 日
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

回答 (1 件)

Drew
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?

カテゴリ

Help Center および File ExchangeLinear Regression についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by