Filter löschen
Filter löschen

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

6 Ansichten (letzte 30 Tage)
After training a model using the Regression Learner App, how to extract the predicted response (values)?
Thank you.

Akzeptierte Antwort

Bhargavi Maganuru
Bhargavi Maganuru am 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 Kommentare
Pierre Guy
Pierre Guy am 13 Sep. 2019
Thank you for your precious help.
Regards,
Balantrapu Sai harshit
Balantrapu Sai harshit am 14 Aug. 2020
Can anyone briefly explain how to download the plots that we have predicted in Regression learner in R2018a

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by