Effacer les filtres
Effacer les filtres

How to make predictions using an exported classification model in matlab?

2 vues (au cours des 30 derniers jours)
scully2014
scully2014 le 24 Sep 2018
Commenté : KSSV le 24 Sep 2018
I used the Matlab classification leaner app. The model has three predictors (numeric) and the response is categorical (Hign or Low). I exported the trained model to a workspace variable named "tranedModel". Then I wrote this in the comment window to make new predictions :
T=[2.5 3.6 1.7]; % T is the new data with three predictors;
yfit = trainedModel.predictFcn(T);
But it keeps giving the error. Thanks a lot.
  1 commentaire
KSSV
KSSV le 24 Sep 2018
What error? With out telling error, how you think you will get help?

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by