0 votes
Is it okay to use categorical variable directly or is it better to use one-hot encoding?
by

1 Answer

0 votes
It's ok to use categorical variable directly. The model will automatically do the one-hot encoding. This is also called dummification.

You can chose in project "Settings" between one-hot encoding and "impact encoding". For text variable, there other options available: tf-idf, hashing, etc.
by
1,278 questions
1,305 answers
1,486 comments
11,834 users

┬ęDataiku 2012-2018 - Privacy Policy