Offline Training AUC
0.962 (inflated due to leakage)
Mirage created by future variables
Live Production AUC
0.714 (after leakage correction)
Actual real-world discriminative power
Optimal Threshold (τ*)
0.18
Maximizes net business expected value
Net Daily Business Value
$184,250
Daily benefit minus operational error costs
1. Task & Data Pipeline Architecture
Time-dependent problems must split chronologically to evaluate true out-of-time decay.
2. Feature Pipeline & Temporal Boundary
Toggle variables to audit temporal data leakage. Forbidden features look miraculous in backtests but fail in production.
logins_last_7d
Clean
Session count up to prediction point
support_tickets_30d
Clean
Customer complaints prior to decision
future_30d_revenue
Contains outcome occurring post-event
account_tenure_months
Clean
Account age established at inference
3. Business Cost Matrix & Operational Scale
10,000
5.0%
$10
$500
0.18
ROC & Leakage Visualizer
Offline vs Live
Cost-Benefit Payoff Curve
Expected Daily Value
4. Model School Matcher (Pedro Domingos' 5 Schools)
Match problem geometry to algorithm worldview rather than defaulting blindly to deep learning.
Symbolists
Best for auditable workflows & hard boundaries.
Bayesians
Belief updating under cold-start uncertainty.
Connectionists
Unstructured perceptual images & language.
Evolutionaries
Search non-differentiable ugly spaces.
Analogizers
Geometric margins in high-dimensional text.
5. Production Machine Learning Operating Audit
| Audit Dimension | Status | Engineering Recommendation |
|---|---|---|
| Temporal Data Leakage | Violated | Purge future_30d_revenue; restrict feature engineering strictly to historical t ≤ t_decision. |
| Evaluation Design | Sound | Chronological split faithfully models out-of-time distribution shifts. |
| Decision Threshold | Calibrated | Threshold set to 0.18 to minimize severe False Negative costs ($500). |
| Algorithm Archetype | Aligned | Symbolist / Ensemble (e.g. XGBoost / Logistic Baseline) fits structured tabular churn data. |