Feature Engineering Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering ML Development Lifecycle

What you'll be asked

  1. What is the primary goal of feature engineering in the machine learning development lifecycle?
  2. You are working with a dataset containing a categorical variable 'City' with 50 unique values. Which encoding technique would be most appropriate to avoid high dimensionality while preserving some ordinal relationship if applicable?
  3. When performing feature scaling, why is it critical to fit your scaler (e.g., StandardScaler) only on the training data?
  4. Which of the following scenarios describes the best use case for applying a log transformation to a numerical feature?
  5. You are designing a feature to capture the 'time since last purchase' for a customer. You notice that some customers have never made a purchase. How should you handle this to prevent model bias?

Answers and explanations come after you submit.