Problem
Business Context
LendWise, a digital consumer lending platform processing ~120K loan applications per month, wants a supervised learning model to predict whether an applicant will default within 12 months. The risk team needs a model that improves approval decisions while remaining explainable enough for audit and policy review.
Dataset
You are given a historical labeled dataset where each row represents one funded loan and the target indicates whether the borrower defaulted. This is a standard supervised learning problem because the model is trained on input features and known outcomes.
| Feature Group | Count | Examples |
|---|---|---|
| Applicant demographics | 6 | age, employment_status, residence_type |
| Credit history | 8 | credit_score, prior_delinquencies, revolving_utilization |
| Financials | 7 | annual_income, debt_to_income_ratio, existing_loans |
| Loan attributes | 5 | loan_amount, term_months, interest_rate, purpose |
| Behavioral / bureau freshness | 4 | recent_inquiries_30d, days_since_last_delinquency |
- Size: 96K funded loans, 30 features
- Target: Binary label — default within 12 months (1) vs no default (0)
- Class balance: Moderately imbalanced, 18% default / 82% non-default
- Missing data: ~9% missing in income-related fields, ~6% missing in bureau freshness variables, <2% elsewhere
Success Criteria
A good solution should achieve ROC-AUC >= 0.82, F1 >= 0.58, and recall >= 0.70 for the default class at an operational threshold chosen with business tradeoffs in mind.
Constraints
- Predictions must run in <50 ms per application in an online approval flow.
- The model must support feature importance or reason codes for risk analysts.
- Retraining should be feasible on a monthly cadence with standard Python tooling.
Deliverables
- Define supervised learning in the context of this dataset and explain why this is a supervised classification task.
- Build a baseline logistic regression model and a stronger tree-based model.
- Create a preprocessing pipeline for missing values, categorical variables, and numeric scaling where appropriate.
- Evaluate models using cross-validation and a held-out test set.
- Recommend a final model, decision threshold, and monitoring plan for production use.
Practicing as: Machine Learning Engineer interview at ChimeHi, I'll play your Chime interviewer for the Machine Learning Engineer role. Answer the question above like we're in the room, and I'll respond the way a real interviewer would.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

