You are working on a customer segmentation project for a retail company. One of the variables in your dataset is "Product Category," which represents the different categories of products the company sells. This variable has a high cardinality, with thousands of unique categories. You want to encode this variable in a way that captures the frequency of each category effectively. Which encoding method would you choose?
Preprocessing categorical features
Customer segmentation project
Report a typo
Select one option from the list
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.