Options

Using the Target Encoding operator

sectynsectyn Member Posts: 25 Maven
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?

Best Answer

  • Options
    Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
    Solution Accepted
    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.

    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
Sign In or Register to comment.