Using the Target Encoding operator
sectyn
New Altair Community Member
I want to use the Target Encoding operator on my dataset which has
categorical columns. After that I want to build a decision tree using
the encoded data. And to avoid overfitting I plan to use Cross
Validation. How can I build this process? Do I put the Target Encoding
and Decision Tree in one Cross Validation operator?
Tagged:
0
Best Answer
-
Yes, you can do that, but you don't actually need to do any attribute encoding for Decision Trees. All types of input data are handled by Decision Trees automatically.
1
Answers
-
Yes, you can do that, but you don't actually need to do any attribute encoding for Decision Trees. All types of input data are handled by Decision Trees automatically.
1