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.

 Respuesta aceptada

Srivardhan Gadila
Srivardhan Gadila el 6 de Oct. de 2021
I think the information present under "Categorical Predictor Support" in the documentation page Choose Classifier Options, might help you.

Más respuestas (0)

Categorías

Más información sobre Installing Products en Centro de ayuda y File Exchange.

Productos

Versión

R2021b

Etiquetas

Preguntada:

MB
el 3 de Oct. de 2021

Editada:

MB
el 25 de Jun. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by