subplot response plots of regression models in the regression learner app

1 回表示 (過去 30 日間)
Ameen Bassam
Ameen Bassam 2021 年 6 月 18 日
回答済み: Ameen Bassam 2021 年 6 月 21 日
I am using the regression learner app to train a selection of different models on my data. I just want to plot the response plots of different models as subplots in one customized figure.
I know I can "Export plot to figure" but I can just edit this figure and save it. I don't want to save these figures individually and combine them later in one figure.
Can I export the figure data of each model and use it later to plot them combined in one figure using a "subplot" code?
  2 件のコメント
dpb
dpb 2021 年 6 月 18 日
I've never really used the app but it appears you have to export the trained model and then use predictFcn function from a Staff response to a previous Q? https://www.mathworks.com/matlabcentral/answers/452653-regression-learner-data-exporting?s_tid=answers_rc1-1_p1_MLT and reading the doc.
I don't know whether that function includes the raw as well as predicted data or not.
I've typically found the user interface overhead more trouble than worth and so just have always fit a model explicitly so no real familiarity with the app...
Ameen Bassam
Ameen Bassam 2021 年 6 月 21 日
Many thanks for your effor as I couldn't find it before.
This answer could help.

サインインしてコメントする。

採用された回答

Ameen Bassam
Ameen Bassam 2021 年 6 月 21 日
As @dpb mentioned, the trained model can be extracted to the workspace. Then, using the raw data and 'predictFcn' function, the predicted value can be available on the workspace. Finally, I can use my plot code to plot and supblot as much as I can with full flexibility.
Thanks again @dpb

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSupport Vector Machine Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by