Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Predict Loan Default Risk

Easy
Machine LearningCross-ValidationFeature EngineeringSupervised Learning

Problem

Business Context

BrightLend, a mid-size consumer lending platform, wants a baseline predictive model to estimate whether a loan applicant will default within 12 months of origination. The goal is to help analysts demonstrate sound predictive modeling fundamentals: problem framing, feature preparation, model training, and evaluation.

Dataset

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

Feature GroupCountExamples
Applicant demographics6age, employment_status, residence_type
Financial attributes9annual_income, debt_to_income, credit_utilization, existing_loans
Loan details7loan_amount, interest_rate, term_months, purpose
Credit history8credit_score, delinquencies_12m, inquiries_6m, bankruptcies
Behavioral / derived5income_to_loan_ratio, recent_balance_change, payment_burden
  • Size: 48K funded loans, 35 input features
  • Target: default_12m — whether the borrower defaulted within 12 months
  • Class balance: 14% default, 86% non-default
  • Missing data: 10% missing in employment-related fields, 6% missing in credit bureau attributes

Success Criteria

A good solution should outperform a naive majority-class baseline and produce a model that is understandable enough for risk analysts to review. Target performance is ROC-AUC >= 0.78 and F1 >= 0.45 on a held-out test set, with clear discussion of threshold selection.

Constraints

  • Prefer interpretable or semi-interpretable models suitable for analyst review
  • Batch scoring is sufficient; no real-time serving requirement
  • Training should run on a standard laptop in minutes
  • Avoid leakage from post-loan features

Deliverables

  1. Build a baseline classification pipeline for default_12m
  2. Explain feature preprocessing choices for numeric and categorical columns
  3. Compare at least two models and justify the final selection
  4. Evaluate using appropriate classification metrics beyond accuracy
  5. Identify the most important predictors and discuss practical tradeoffs

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
Predict Loan Default for Digital LendingEasyPredict Loan Default End-to-EndEasyWongaPredict Loan Default for FintechEasy