regression learner data exporting

5 views (last 30 days)
ALI ABDEEN
ALI ABDEEN on 27 Mar 2019
Edited: Rohan Amarapurkar on 28 Mar 2019
hello
i'm using regression learner
and i found a nice model
the regression learner already plotted response plot with actual and predicted (blue and yellow dots)
how can i export these predictions ( yellow dots) out to excel file or csv
thanks

Answers (1)

Rohan Amarapurkar
Rohan Amarapurkar on 28 Mar 2019
Edited: Rohan Amarapurkar on 28 Mar 2019
I suggest that you export your trained model to the MATLAB workspace. Make predictions on your data using the predictFcn function from the trainedModel struct that you exported.Finally you can save your prediction variable using the writematrix command as a csv/xlsx file.

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!