Build Price Features That Stay Reliable Through Lightning Deals
Last updated: November 29, 2026
Quick Overview
A conversion model uses product price, but Lightning Deals and Prime Day discounts create sudden price drops that the model misreads. Design price-related features that capture value to the customer and stay stable through promotions.
Amazon
November 29, 20260
0
0 solved
A conversion model uses product price, but Lightning Deals and Prime Day discounts create sudden price drops that the model misreads. Design price-related features that capture value to the customer and stay stable through promotions.
Pricing and promotions are core to Amazon retail, and models that use raw price often break on event days. The interviewer checks whether you can build relative, reference-based features and handle the difference between list price, typical price and deal price.
What the Interviewer Expects
- Separates absolute price from price relative to a reference
- Defines a robust reference price such as a trailing median excluding deals
- Adds discount depth, deal type and time remaining as explicit features
- Normalizes prices within category to compare across products
- Computes everything from data available at prediction time
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 use a median rather than a mean for the reference price?
- How would you represent a competitor price that is only sometimes observed?
- How would you avoid the model learning that deals always convert, when deals are targeted to popular items?
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 target (purchase per detail page view), the price history available, and how deals are chosen, because deals are not random and go to items already in demand....
Approach
Customers respond to price relative to expectations, not raw dollars. Build a reference price per ASIN, then express the current price relative to it and to the category. Model promotions explicitly s...