InterviewStack.io LogoInterviewStack.io

Feature Engineering & Selection Basics Questions

Understand why features matter and basic techniques: scaling/normalization, handling categorical variables (one-hot encoding, label encoding), creating interaction features, and feature importance. Know that good features are as important as good algorithms. Understand why feature scaling matters for algorithms like KNN or linear models.

MediumTechnical
70 practiced
You find two features with Pearson correlation > 0.95. How do you decide which one to keep? Describe quantitative and qualitative approaches (e.g., VIF, model-based checks, domain knowledge) and the downstream implications for interpretability and model stability.
HardSystem Design
64 practiced
Design an end-to-end production feature engineering process for a company that needs reproducible offline features for training and consistent online features for serving. Describe components: feature definitions, transformations, feature store (online/offline), validation tests, backfills, monitoring, and contracts with engineers. Explain how you ensure consistency and reproducibility.
HardTechnical
49 practiced
Your model's performance has steadily degraded in production. Describe a process to detect feature drift vs label drift, methods to root-cause which feature(s) changed (e.g., PSI, KS test, shift detection), and mitigation strategies including retraining cadence, adaptive features, and alerting. Include practical thresholds and tooling you might use.
EasyTechnical
57 practiced
Given the following pandas DataFrame schema:
- user_id: int- age: float- country: string- last_login_days_ago: float- purchase_amount: float (target)
Write Python code (pandas) to impute missing numeric features with median and missing categorical 'country' with the mode. Show the function signature and an example of applying it to a DataFrame 'df'.
EasyTechnical
70 practiced
Define interaction features and provide three examples where an interaction term is likely to improve predictive performance. Explain how you would test whether an interaction adds value without causing overfitting.

Unlock Full Question Bank

Get access to hundreds of Feature Engineering & Selection Basics interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.