How can I deal with categorical variables in classification algorithms?

조회 수: 2 (최근 30일)
Tanvir Kaisar
Tanvir Kaisar 2019년 2월 22일
I am new to MATLAB.
I am trying to apply SVM, Logistic regression and ANN to my dataset that contains both numerals and categorical variables. In the case of SVM I have found CategoricalPredictors argument that takes care of the categorical variables automatically. However, for mnrfit and ann, I cannot find similar argument. How can I covert those categorical variables in the case of Logistic regression and ANN?

답변 (0개)

카테고리

Help CenterFile Exchange에서 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