Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan

Select Features for Loan Default

EasyMachine Learning00:00
Practice interviewer
In session
5 left
00:00

Your question is Select Features for Loan Default. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Business Context

Northstar Lending is building a binary classification model to predict whether a personal loan applicant will default within 12 months. The risk team wants a feature selection approach that improves generalization, reduces overfitting, and keeps the final model interpretable for compliance review.

Dataset

You are given a historical underwriting dataset with applicant, credit, and behavioral variables collected at application time.

Feature GroupCountExamples
Applicant demographics8age, employment_length, home_ownership, region
Financial attributes14annual_income, debt_to_income, revolving_utilization, open_credit_lines
Credit history11fico_band, delinquencies_2y, inquiries_6m, public_records
Application metadata7channel, loan_purpose, requested_amount, term_months
Engineered candidates20income_per_open_line, utilization_x_inquiries, log_income, missingness flags
  • Size: 120K loan applications, 60 candidate features
  • Target: default_12m — defaulted within 12 months (1) vs not defaulted (0)
  • Class balance: 18% positive, 82% negative
  • Missing data: 12% missing in employment and income-related fields; 3% missing in bureau variables

Success Criteria

A good solution should:

  • Achieve ROC-AUC >= 0.78 on the held-out test set
  • Reduce the feature set from 60 candidates to a smaller, defensible subset without materially hurting performance
  • Produce a feature selection process that is reproducible and explainable to risk and compliance stakeholders

Constraints

  • The final model must remain interpretable enough for model risk management review
  • Training runs should finish within 30 minutes on a standard CPU machine
  • Feature selection must avoid leakage and be performed only using training folds

Deliverables

  1. Build a baseline classification pipeline using all candidate features.
  2. Implement at least two feature selection techniques and compare them.
  3. Select a final feature set and justify why it is appropriate for this dataset.
  4. Report evaluation metrics on validation and test data.
  5. Summarize tradeoffs between predictive power, stability, and interpretability.