Count Encoding
Learn how to use count encoding to encode categorical features.
What is count encoding?
Count encoding uses the number of categories in the dataset as the new feature. For example, in the column Type
, the category value Sun
appears 3 times, then the new feature for the Sun
is 3.
Get hands-on with 1300+ tech skills courses.