Skip to content

This is project 4 of Udacity's Predictive Analytics Nanodegree

License

Notifications You must be signed in to change notification settings

KOdoi-OJ/Predicting-Default-Risk

Repository files navigation

Project Details: Predicting Default Risk

Project Overview

This is project 4 of Udacity's Predictive Analytics Nanodegree.

In this project, you are a loan officer at a young and small bank (been in operations for two years) that needs to come up with an efficient solution to classify new customers on whether they can be approved for a loan or not. You'll use a series of classification models to figure out the best model and provide a list of creditworthy customers to your manager.

How Do I Complete this Project?

This project uses skills learned throughout the "Classification Models" course. To complete this project:

  • Go through the course
  • Apply the skills learned in the course to solve the business problem given in the project details section.
  • Use our guidelines and rubric to help build your project.
  • When you're ready, submit it to us for review using the submission template found in the supporting materials section.

Skills Required

In order to complete this project, you must be able to:

  • Cleanup, format, and blend a wide range of data sources
  • Build predictive classification models using Logistic Regression, Decision Tree, Random Forest, and Boosted Model

The Business Problem

You work for a small bank and are responsible for determining if customers are creditworthy to give a loan to. Your team typically gets 200 loan applications per week and approves them by hand.

Due to a financial scandal that hit a competitive bank last week, you suddenly have an influx of new people applying for loans for your bank instead of the other bank in your city. All of a sudden you have nearly 500 loan applications to process this week!

Your manager sees this new influx as a great opportunity and wants you to figure out how to process all of these loan applications within one week.

Fortunately for you, you just completed a course in classification modeling and know how to systematically evaluate the creditworthiness of these new loan applicants.

For this project, you will analyze the business problem using the Problem Solving Framework and provide a list of creditworthy customers to your manager in the next two days.

You have the following information to work with:

  1. Data on all past applications
  2. The list of customers that need to be processed in the next few days

Steps to Success

Step 1: Business and Data Understanding

Include a description of the key business decisions that need to be made.

Step 2: Explore and Cleanup the Data

To properly build the model, and select predictor variables, you need to explore and cleanup your data.

Here are some guidelines to help you clean up the data:

  1. Are any of your numerical data fields highly-correlated with each other? The correlation should be at least .70 to be considered "high".
  2. Are there any missing data for each of the data fields? Fields with a lot of missing data should be removed
  3. Are there only a few values in a subset of your data field? Does the data field look very uniform (there is only one value for the entire field?). This is called "low variability" and you should remove fields that have low variability. Refer to the "Tips" section to find examples of data fields with low-variability.
  4. Your clean data set should have 13 columns where the Average of Age Years should be 36 (rounded up)

Note: If you decide to impute any data field, for the sake of consistency in the data cleanup process, impute the data using the median of the entire data field.

Step 3. Train your Classification Models

You should choose 70% to create the Estimation set and 30% to create the Validation set. Set the Random Seed to 1 if you're using Alteryx.

Train your dataset using these models:

  • Logistic Regression
  • Decision Tree
  • Forest Model
  • Boosted Tree

Step 4. Writeup

Compare all of the models' performance against each other. Decide on the best model and score your new customers.

Write a brief report on how you came up with your classification model and write down how many of the new customers would qualify for a loan.

Important : Your manager only cares about how accurate you can identify people who qualify and do not qualify for loans for this problem.

Review

Use the project rubric to review your project. If you are happy with your submission, then you're ready to submit your project. If you see room for improvement, keep working to improve your project.

Submission Template

Use the submission template to submit your project. After filling it out, save it as a PDF and submit the PDF.

Workflow Template

Use the Alteryx workflow template to help quickly get started with the project. For the sake of the reviews consistency, you must use this Alteryx workflow.

Data

  • credit-data-training.xlsx - This file contains all credit approvals from your past loan applicants the bank has ever completed.

  • customers-to-score.xlsx - This is the new set of customers that you need to score on the classification model you will create.

Other Supporting Materials

Results

The final submission for the project can be found here


This project was completed, with final review and approval, on April 4, 2022

Releases

No releases published

Packages

No packages published