Select Features From Thousands of Sparse Signals for a Seller Model
Last updated: November 29, 2026
Quick Overview
A seller performance model has 4,000 candidate features from many teams, most sparse and many redundant. Describe a feature selection process that improves generalization and keeps the model maintainable.
Amazon
November 29, 20260
0
0 solved
A seller performance model has 4,000 candidate features from many teams, most sparse and many redundant. Describe a feature selection process that improves generalization and keeps the model maintainable.
Amazon models accumulate features from many owning teams, and each feature carries pipeline and on-call cost. Interviewers check that you know filter, wrapper and embedded methods, can avoid selection leakage, and think about the operational cost of features.
What the Interviewer Expects
- Starts with cheap filters: coverage, variance, leakage checks
- Removes redundancy via correlation clustering
- Uses embedded methods such as L1 or gradient boosting importance
- Validates with permutation importance on held-out data
- Performs selection inside cross-validation to avoid optimistic bias
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- Why is split-count importance from trees misleading?
- How would you handle two highly correlated features that split importance?
- How would you decide a feature is worth its maintenance cost?
- What is the danger of selecting features using the full dataset?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Ask the label and model type, how many rows exist (millions of seller weeks), the latency and cost per feature lookup at serving time, and whether some features are owned by teams that might deprecate...
Approach
Funnel the features: cheap filters first, then model-based selection, then a final held-out check, all within the training data....