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

11 views (last 30 days)
After training a model using the Regression Learner App, how to extract the predicted response (values)?
Thank you.

Accepted Answer

Bhargavi Maganuru
Bhargavi Maganuru on 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 Comments
Balantrapu Sai harshit
Balantrapu Sai harshit on 14 Aug 2020
Can anyone briefly explain how to download the plots that we have predicted in Regression learner in R2018a

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!