Problem
Business Context
BrightCart, an e-commerce retailer sending 8-10 million promotional emails and push notifications per month, wants to use predictive analytics to improve targeting. The marketing team currently sends broad campaigns with low conversion and wants a model that predicts which customers are likely to purchase within 7 days of receiving an offer.
Dataset
You are given a historical campaign dataset where each row represents a customer-campaign impression. The goal is to predict whether the customer will convert after receiving the message.
| Feature Group | Count | Examples |
|---|---|---|
| Customer profile | 8 | age_bucket, region, loyalty_tier, acquisition_channel |
| Purchase history | 12 | orders_30d, avg_order_value, days_since_last_purchase, category_affinity_score |
| Engagement | 10 | email_open_rate_90d, push_click_rate_30d, sessions_7d, wishlist_adds_30d |
| Campaign metadata | 7 | channel, discount_pct, campaign_type, send_hour, product_category |
| Derived temporal features | 5 | day_of_week, weekend_flag, days_since_last_campaign, campaign_frequency_14d |
- Size: 420K customer-campaign rows, 42 features
- Target: Binary — purchased within 7 days of campaign send (1) vs no purchase (0)
- Class balance: 11.6% positive, 88.4% negative
- Missing data: 18% missing in push engagement for email-only users, 6% missing in demographic fields, sparse missingness in campaign metadata
Success Criteria
A good solution should improve campaign targeting enough to support selective sends. Aim for ROC-AUC >= 0.82, PR-AUC >= 0.38, and precision in the top 20% scored customers >= 0.30. The model should also produce interpretable feature importance for marketers.
Constraints
- Batch scoring must finish in under 20 minutes for 2 million customers
- Predictions are generated daily, so training can be offline
- Marketing stakeholders need understandable drivers of response
- Budget limits rule out large deep learning systems for the first version
Deliverables
- Build a binary classification model to predict 7-day campaign conversion.
- Explain preprocessing choices for mixed feature types and missing values.
- Compare at least one baseline model with a stronger ensemble model.
- Select a decision threshold or ranking policy for campaign targeting.
- Report evaluation metrics and provide a short interpretation of business impact.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

