0
$\begingroup$

As the title says, When to use Label Encoder and One Hot encoding with target variables ?

$\endgroup$

1 Answer 1

0
$\begingroup$

This depends on the model being used and, probably more importantly, the software being used. I think most packages are perfectly content to get the raw targets, and will encode internally as needed.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.