stratascratch
  • Interview Questions
    • Interview Loops
    • Analytical
    • Algorithm
    • ML Coding
    • Stats Coding
    • Visualization
    • Concept
  • Data Labs
    • Discover
    • Your Notebooks
  • Mock Interview
  • Learn
  • Blog
  • Pricing
  • About
Log in
  • Interview Questions

    • Interview Loops
    • Analytical
    • Algorithm
    • ML Coding
    • Stats Coding
    • Visualization
    • Concept
  • Data Labs

    • Discover
    • Your Notebooks
  • Mock Interview
  • Learn
  • Blog
  • Pricing
  • About
Log inSign up
Back to Projects
  1. Assignment
  2. Your Solution
  3. Solution
  4. Solutions from Users
  5. Discussion

Flagging Loans

You must be logged in to download the datasets

Chime: Flag risky loans using classifier benchmarking and class-imbalance correction. Python, Scikit-learn, Optuna, Yellowbrick.

Assignment

Using the available dataset, build a model that will predict the value of the target variable bad_flag. Prepare a presentation, as a Jupyter notebook, where you will train and test different models, argue for the choice for the best model and show the expected default rate at different approval levels.

Data Description

The provided CSV file (test_task.csv) contains data on repeated loans from current clients.

Practicalities

You will need to provide a Jupyter Notebook that describes your approach as a result of this task.

Since it is an open-ended task, your solution will need to include your thought process, including data exploration, model training, evaluation, and selection procedures, results, and interpretation. The assignment explicitly mentions model selection as an important part, so make sure that is reflected in your solution.

It is important that your code is well-structured, and all output (numerical and visual) are properly documented and easily readable. Always keep in mind that the final document would be read by someone with a business background, so be sure to clearly explain any technical terms and metrics. You should spend no more than 3-4 hours on this task.

This question is part of an interview loop

See the full interview round by round, with questions for each stage.

Fintech & payments · AI Engineer