Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is the main purpose of encoding categorical data?
Think about what type of data machine learning algorithms work best with.
Can you explain OneHotEncoding?
Remember how categories are transformed into separate columns.
What is OneHotEncoding used for?
Think about how categories are represented in a dataset.
True or False: LabelEncoding is always the best choice for categorical variables.
Consider the nature of the data you are encoding.
Suppose you have a dataset containing countries and a product rating ('Good', 'Average', 'Bad'). Outline an approach for encoding this dataset to prepare it for a machine learning model.
Consider the nature of the ratings and how they should influence model training.
Given a dataset of survey responses including 'Yes', 'Sometimes', 'No' as answers, suggest an encoding strategy that maintains the options’ intrinsic order while encoding them for a model.
Think about how to maintain the order when encoding.
5 more questions in this section. Enroll free to practise them all.
Enroll free