How can I deal with categorical variables in classification algorithms?
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File 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!