subplot response plots of regression models in the regression learner app

2 次查看(过去 30 天)
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
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 CenterFile Exchange 中查找有关 Classification Learner App 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by