Borrar filtros
Borrar filtros

subplot response plots of regression models in the regression learner app

2 visualizaciones (últimos 30 días)
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 comentarios
dpb
dpb el 18 de Jun. de 2021
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 el 21 de Jun. de 2021
Many thanks for your effor as I couldn't find it before.
This answer could help.

Iniciar sesión para comentar.

Respuesta aceptada

Ameen Bassam
Ameen Bassam el 21 de Jun. de 2021
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

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by