Predict Which Furniture Orders Will Be Returned or Damaged

Last updated: November 29, 2026

Quick Overview

Build a model that predicts, at order time, the probability an order line will be returned or reported damaged, and explain how Wayfair could use the score in checkout, packaging or logistics decisions.

Wayfair
Machine Learning
Machine Learning Engineer
Wayfair
November 29, 2026
Machine Learning Engineer
Onsite
Machine Learning
Medium

0

0

0 solved


Build a model that predicts, at order time, the probability an order line will be returned or reported damaged, and explain how Wayfair could use the score in checkout, packaging or logistics decisions.

Returns and damage on bulky items are a major cost for Wayfair because reverse logistics for a sofa can exceed its margin. The interviewer checks label definition with delayed outcomes, feature leakage, handling class imbalance and calibration, and whether you connect the score to a concrete action.

What the Interviewer Expects
  • Defines the label and observation window precisely
  • Lists predictive features from product, supplier, carrier and customer
  • Avoids leakage from post-order information
  • Chooses metrics suited to imbalance and calibrated probabilities
  • Ties the score to an action with a cost-based threshold
Key Topics to Cover
classification
label delay
leakage
calibration
cost-sensitive decisions
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • Labels take 60 days to mature. How do you train on recent data?
  • How would you separate 'didn't like it' returns from damage, and does it matter?
  • If you use the score to change packaging, how do you measure its causal effect?
  • How would you explain a high score to a supplier?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

Unit: order line. Label: return initiated or damage claim filed within 60 days of delivery. Base rate assumed around 5% overall, higher for large parcel. Decision use: e.g. add protective packaging, r...

Approach

Features available at order time only:

  • Product: category, dimensions and weight, assembly required, materials, historical return and damage rate (smoothed), review mentions of 'color different'....

Submit Your Answer
Markdown supported

Related Questions