Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is one-hot encoding?
Think about how each category would be represented.
Why is one-hot encoding preferred over label encoding for nominal variables?
Consider the meaning of categories.
What does one-hot encoding do?
Remember how it structures the data.
One-hot encoding is best used for which type of categorical variable?
Think about the nature of the categories.
Consider a dataset with a 'City' feature that has 50 unique city names. Discuss how you would encode this feature for a regression model.
Think about dimensionality reduction strategies.
A dataset includes a variable 'Vehicle Type' with values: Car, Truck, SUV, and Motorcycle. How would you evaluate the impact of one-hot encoding on a prediction model’s performance?
Consider what evaluation metrics would best reflect performance.
5 more questions in this section. Enroll free to practise them all.
Enroll free