Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Predict Loan Default with Gradient Boosting

Medium
Machine LearningHyperparameter TuningFeature EngineeringSupervised Learning

Problem

Business Context

LendPro, a digital consumer lending platform processing roughly 300K applications per quarter, wants to reduce default losses without materially lowering approval volume. Build a model that predicts whether a newly issued loan will default within 12 months so the risk team can improve underwriting decisions.

Dataset

You are given a historical loan-origination dataset with one row per funded loan.

Feature GroupCountExamples
Applicant profile12age, employment_length, annual_income, housing_status
Credit bureau14fico_score, delinquencies_2y, revolving_utilization, inquiries_6m
Loan terms8loan_amount, interest_rate, term_months, purpose
Behavioral / banking10avg_balance_90d, overdraft_count_6m, payroll_detected
Derived temporal6days_since_last_delinquency, income_to_loan_ratio, recent_inquiry_trend
  • Historical window: 24 months of funded loans
  • Observation unit: funded loan at origination time
  • Target: whether the loan defaults within 12 months of funding

Success Criteria

A strong solution should outperform a logistic regression baseline and achieve enough ranking quality for underwriting. Target ROC-AUC >= 0.82, PR-AUC >= 0.38, and recall >= 0.70 at precision >= 0.45 on the held-out test set.

Constraints

  • Predictions must be generated in <100 ms per application in an online API.
  • The risk team needs feature-level explanations for adverse action review.
  • Training budget is moderate; a single daily retraining job is acceptable.
  • Missing values and class imbalance must be handled explicitly.

Deliverables

  1. Select and justify an algorithm for this default prediction problem.
  2. Build a full preprocessing and training pipeline.
  3. Explain how you would handle imbalance, missing data, and categorical variables.
  4. Evaluate the model with business-relevant metrics and threshold selection.
  5. Provide an interpretation approach suitable for underwriting and model monitoring in production.

You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

Sign up freeI have an account
Sign up to unlock solutions
Next questions
Happiest BabyPredict Loan Default with EnsemblesMediumEquifaxPredict Loan Default with Logistic RegressionEasyPredict Loan Default End-to-EndEasy