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.

1 件のコメント

MB
MB 2021 年 10 月 9 日
Thanks for the help, sorry for the late reply.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with Statistics and Machine Learning Toolbox についてさらに検索

製品

リリース

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