Features to Predict Whether a Fashion Order Will Be Returned

Last updated: November 29, 2026

Quick Overview

Fashion has the highest return rate in Flipkart's catalog, mostly due to size and fit. What features would you build to predict, at checkout time, whether an order will be returned?

Flipkart
Machine Learning
Machine Learning Engineer
Flipkart
November 29, 2026
Machine Learning Engineer
Phone Screen
Machine Learning
Easy

0

0

0 solved


Fashion has the highest return rate in Flipkart's catalog, mostly due to size and fit. What features would you build to predict, at checkout time, whether an order will be returned?

Returns in fashion cost Flipkart reverse logistics, quality checks and lost margin, so the company uses predictions to nudge size choices or adjust return policies. This phone screen question checks practical feature engineering, leakage awareness and how you encode high cardinality IDs.

What the Interviewer Expects
  • Group features by user, product, seller and order context
  • Include size and fit specific signals
  • Avoid leakage from post checkout information
  • Handle high cardinality IDs with target encoding or embeddings safely
  • Handle cold start users and products
  • Explain how the prediction would be used
Key Topics to Cover
feature engineering
target encoding
data leakage
cold start
return prediction
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
  • How do you target encode user return rate without leaking the label?
  • Which features would you expect to matter most, and how would you check?
  • How would you use the model's output in the product?
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
  • Prediction time: at checkout, before payment completes.
  • Label: any item in the order returned within the return window (or model per item).
  • Use: show size advice, nudge to a different size, or t...
Approach

Brainstorm features in four groups and for each check it is known at checkout time. Then handle encoding for IDs and new entities....


Submit Your Answer
Markdown supported