フィルターのクリア

Categorical to Numerals variables

1 回表示 (過去 30 日間)
Tanvir Kaisar
Tanvir Kaisar 2019 年 2 月 18 日
コメント済み: dpb 2019 年 2 月 18 日
How I can deal with the categorical variables for multinomial logistic regression, SVM and ANN for a classification problem?
My response is a categorical variable (yes,no) and two of predictors are also categorical (red, green, black, blue and high, medium, low).
  1 件のコメント
dpb
dpb 2019 年 2 月 18 日
Just cast the categorical variable to double() or single() and tell mnrfit whether they're nominal, ordinal, ...

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Statistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by