Categorical to Numerals variables
1 回表示 (過去 30 日間)
古いコメントを表示
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
2019 年 2 月 18 日
Just cast the categorical variable to double() or single() and tell mnrfit whether they're nominal, ordinal, ...
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Probability Distributions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!