Skip to main content

New answers tagged

0 votes

How does encoding categorical featured with Target Encoding variants work when the Target feature is continuous?

It's not much different: just take the mean of the target in each category. (You could take some other aggregation, median, minimum, etc., but I've only ever seen mean.) This is the same as the "...
Ben Reiniger's user avatar
  • 12k

Top 50 recent answers are included