Coder Social home page Coder Social logo

sofiamnc / credit_score_data_modeling Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 24.16 MB

Data analysis, preprocessing and custom ML model implementation for a credit score app.

Home Page: http://www.madimedia.pro

Jupyter Notebook 99.28% Python 0.72%
datascience credit-scoring datascience-machinelearning lgbm

credit_score_data_modeling's Introduction

Credit Scoring Data Modeling

Sofia Chevrolat (December 2020)

forthebadge

Overview

The financial firm "Prêt à dépenser" is a consumer credit company for people with few or no credit history.

In order to offer more transparency regarding its credit granting decisions, the company wants to develop an interactive dashboard based on a machine learning model scoring the default probability of a given client. This model should be based on a variety of data (behavioral, from other financial institutions...).

This repository contains several ordered notebooks presenting the steps taken to achieve the modeling of the input data :

  • Exploratory Data Analysis
  • Data Assembly
  • Balancing Method & Algorithm Selection
  • Feature selection
  • Hyperparameter Tuning & Final Model Explainability
  • Data Assembly for the Dashboard

The resulting model outputs the credit scoring for a given client on a scale from 0 to 100, 0 being the best value (0 risk of default), 100 being the worst value (no chance the client will pay back its credit).

Requirements

See requirements.txt

Usage

  1. Download the dataset from Kaggle, and place the files under Notebooks/Resources/datasets/origin/.
  2. Run the following in your terminal to install all required libraries :
pip3 install -r requirements.txt
  1. Run each notebook one after the other, following the order indicated by the digits in each notebook's name.

For a complete overview of the modeling approach, please see the methodology note.

Credit

A big thank you to Will Koehrsen, whose notebooks were a huge help and inspiration for tackling this problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.