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

1 回表示 (過去 30 日間)
scully2014
scully2014 2018 年 9 月 24 日
コメント済み: KSSV 2018 年 9 月 24 日
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 件のコメント
KSSV
KSSV 2018 年 9 月 24 日
What error? With out telling error, how you think you will get help?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeClassification Learner App についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by