Predict Doorstep Refusal Risk For Cash On Delivery Orders

Last updated: November 29, 2026

Quick Overview

Build a model that, at checkout, predicts the probability that a cash on delivery order will be refused at delivery (return to origin), and explain how its score should be used in product decisions such as COD eligibility or a prepaid nudge.

Meesho
Machine Learning
Data Scientist
Meesho
November 29, 2026
Data Scientist
Onsite
Machine Learning
Medium

0

0

0 solved


Build a model that, at checkout, predicts the probability that a cash on delivery order will be refused at delivery (return to origin), and explain how its score should be used in product decisions such as COD eligibility or a prepaid nudge.

RTO on cash on delivery orders wastes two shipping legs for Meesho and its suppliers, but blocking COD loses many genuine first-time buyers who do not use prepaid methods. The interviewer checks label design, leakage, features available at checkout, calibration, and turning a probability into an action with explicit costs.

What the Interviewer Expects
  • Defines the label and the prediction time precisely
  • Uses only features available at checkout to avoid leakage
  • Handles new users with no history through pincode, product and device features
  • Calibrates probabilities and evaluates with PR-AUC and cost curves
  • Maps scores to actions with a cost-based threshold
  • Checks fairness and drift across regions
Key Topics to Cover
binary classification
label leakage
calibration
cost-sensitive decisions
feature engineering
COD risk
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
  • Most refusals come from new users. How do you score someone with no history?
  • How would you know whether blocking COD actually saved money versus lost orders?
  • Fraud rings use many accounts on the same address. How would you catch them?
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: the moment a COD order is placed. Label: 1 if the shipment ends in RTO due to buyer refusal or non-availability, 0 if delivered; exclude orders cancelled before shipping and courier-c...

Approach

Features at checkout only:

  • User: past orders, past RTO count and rate (smoothed), account age, payment history, number of addresses.
  • Address and pincode: historical pincode RTO rate, addre...

Submit Your Answer
Markdown supported

Related Questions