This was basically the whole interview compressed into one question.
Structure your answer as a clear, end-to-end pipeline that mirrors a real data science workflow, emphasizing business context and trade-offs at each stage. Start with data cleaning and EDA, then move to feature engineering and modeling, and finish with evaluation and concrete improvement ideas. Tie every step back to Coinbase's product goals, such as increasing conversion while maintaining trust and security.
Pro tip: Show maturity by acknowledging that data cleaning and feature engineering often consume 70-80% of the effort, and that model choice should be driven by business constraints (e.g., interpretability, latency) rather than chasing the highest AUC.
Handle missing values, outliers, duplicates, and inconsistencies; encode categorical variables and scale numerics as needed. Document assumptions and validate data quality with summary statistics.
Uncover patterns, correlations, and potential leakage; visualize distributions and conversion rates across segments. Form hypotheses about key drivers of conversion.
Create meaningful features (e.g., user tenure, transaction frequency) and select an appropriate model (e.g., logistic regression for interpretability, gradient boosting for performance). Use cross-validation and handle class imbalance.
Choose metrics aligned with business goals (e.g., precision-recall AUC, lift at top decile) and evaluate on a holdout set. Check for overfitting, bias, and robustness across time or user segments.
Propose next steps like A/B testing, feature iteration, or model retraining cadence. Discuss monitoring, fairness, and how to translate predictions into actionable product changes.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.