Datasets containing numerical and categorical data

Hello all, I have a dataset containing both numerical and categorical data. I want to use classification algorithms. Should I change all categorical values into numerical ones? I tried the dataset with the Classifier Learner, it's working but I can't be sure. Some of the classifiers are not selectable, is it because of the categorical data? Thanks for the help.

 채택된 답변

Srivardhan Gadila
Srivardhan Gadila 2021년 10월 6일

0 개 추천

I think the information present under "Categorical Predictor Support" in the documentation page Choose Classifier Options, might help you.

추가 답변 (0개)

카테고리

제품

릴리스

R2021b

질문:

MB
2021년 10월 3일

편집:

MB
2022년 6월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by