How to export predictions?
3 次查看(过去 30 天)
显示 更早的评论
Hello,
I created a predictive model with the classification learner but I can't actually see the predictions. What do I need to do in order to see them and how can I export them to excel?
Thanks
0 个评论
采纳的回答
Ridwan Alam
2019-11-21
编辑:Ridwan Alam
2019-11-21
On the Classification Learner app, there is "export model" button.
After you have the model exported to your workspace, you can use
yhat = model.predictFcn(x)
where x is your input or test data.
If you want to write the variable yhat to csv, use csvwrite() or any similar function.
A helpful link:
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classification Trees 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!