How to export predictions?
5 ビュー (過去 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:
7 件のコメント
Ridwan Alam
2019 年 11 月 21 日
[yhat, yscores] = predict(trainedModel, table2array(gggggggggggg))
その他の回答 (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!