How to extract the predicted response from the Regression Learner App ?

14 vues (au cours des 30 derniers jours)
After training a model using the Regression Learner App, how to extract the predicted response (values)?
Thank you.

Réponse acceptée

Bhargavi Maganuru
Bhargavi Maganuru le 12 Sep 2019
To extract the predicted response for trained data,
Select Response plot and click Export plot to Figure. It creates a figure from the plot.
To save data to workspace from the figure select File>Save Workspace. This creates a .mat file.
Load .mat file and get predicted responses
a=load('responses.mat');
PredictedResponses=a.yfit;
Hope this helps!
  4 commentaires
Pierre Guy
Pierre Guy le 13 Sep 2019
Thank you for your precious help.
Regards,
Balantrapu Sai harshit
Balantrapu Sai harshit le 14 Août 2020
Can anyone briefly explain how to download the plots that we have predicted in Regression learner in R2018a

Connectez-vous pour commenter.

Plus de réponses (1)

Ahmed Eltantawi
Ahmed Eltantawi le 2 Sep 2024
@Pierre Guy Please can you help me to extract data?. I tried but can not to do.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by