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일
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 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