How to export predictions?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Tiago Afonso
le 21 Nov 2019
Commenté : Tiago Afonso
le 21 Nov 2019
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 commentaires
Réponse acceptée
Ridwan Alam
le 21 Nov 2019
Modifié(e) : Ridwan Alam
le 21 Nov 2019
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 commentaires
Ridwan Alam
le 21 Nov 2019
[yhat, yscores] = predict(trainedModel, table2array(gggggggggggg))
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Support Vector Machine Classification dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!