Datasets containing numerical and categorical data
5 views (last 30 days)
Show older comments
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/757054/image.png)
0 Comments
Accepted Answer
Srivardhan Gadila
on 6 Oct 2021
I think the information present under "Categorical Predictor Support" in the documentation page Choose Classifier Options, might help you.
More Answers (0)
See Also
Categories
Find more on Classification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!