This was a lot to hold in your head at once.
Walk through the end-to-end workflow in a logical order, emphasizing decisions and trade-offs at each step. Highlight how you prevent data leakage, handle class imbalance, and justify your model and metric choices. Conclude with how you would communicate results and confidence intervals to stakeholders.
Pro tip: Always split the data before any preprocessing that learns parameters (e.g., scaling, imputation) to avoid leakage; use pipelines to enforce this. For imbalanced data, don't just rely on accuracy—use precision-recall AUC and consider cost-sensitive learning.
Load the dataset into Colab, inspect its structure, summary statistics, and missing values. Perform univariate and bivariate analysis to understand distributions, relationships, and potential issues like class imbalance.
Split data into train/validation/test sets before any preprocessing to prevent leakage. Build a preprocessing pipeline that handles missing values, scales numerical features, and encodes categorical variables, fitting only on the training set.
Start with a simple baseline (e.g., logistic regression) and progressively try stronger models (e.g., random forest, gradient boosting). Use cross-validation for hyperparameter tuning, ensuring the pipeline is included to avoid leakage.
Choose metrics justified by the problem (e.g., precision, recall, F1, PR-AUC for imbalanced data). Address class imbalance via resampling, class weights, or threshold tuning, and report confidence intervals for metrics.
Summarize findings, model performance, and limitations. Discuss how you would iterate, monitor, and deploy the model, emphasizing reproducibility and business impact.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.