Reputation: 19
I want to apply a decision tree classifier, after I label-encode the target feature to 0,1,2,3 can i apply one-hot encoding to it again? is that allowed?
Upvotes: 0
Views: 141
Reputation: 33
There should be only one target column. After applying One Hot Encoding on Target Column, it will create three new target columns which is not the correct way.
Upvotes: 2