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.

 Akzeptierte Antwort

Srivardhan Gadila
Srivardhan Gadila am 6 Okt. 2021

0 Stimmen

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

Weitere Antworten (0)

Produkte

Version

R2021b

Gefragt:

MB
am 3 Okt. 2021

Bearbeitet:

MB
am 25 Jun. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by