Giter VIP home page Giter VIP logo

prediction-of-probability-of-default-using-machine-learing-in-r's Introduction

Probability of default in R

Yahya Kamel

12 January 2022

https://www.linkedin.com/in/yahya-kamel-5653b24b/

Harvard University

Data science capstone project

The objective of this project is to use Machine Learning “ML” prediction models to predict the Probability of Default “PD” of retail loans. This prediction process is very vital for companies and institutions dealing with receivables and loans. Through this project, we will get hands on different models and techniques to get more insight from the prediction models. This project explores the following ML prediction models:

  • Logistic regression with its different branches (log, logit, cloglog, probit)
  • K Nearest Neighbors non-linear regression
  • Vector Support Machines - Radial
  • Neural networks
  • Naive Bayes
  • Decision tree
  • Random forest This paper is divided in the following sections: 1 Data exploration 2 Data wrangling 3 Modeling 4 Final PDs and conclusion

The underlying dataset contains the following data about around 29 thousand of retail borrowers:

  • loan_status: 0 if borrower has defaulted and 1 if borrower has not defaulted.
  • loan_amt: Total amount of loan
  • int_rate: Interest rate applicable to the loan
  • grade: Credit risk rating. A is the lowest in risk and G is the highest in risk.
  • annual_inc: Annual income of the borrower.
  • emp_length: Number of years of work.
  • home_ownership: Rent/Mortage/Own/Others.
  • age: Borrower’s age.

The expected time to run the code is 25 – 45 minutes, depending on the machine speed.

Disclaimer: The information, estimates, code, and conclusions mentioned in this paper are only for educational purposes and should not be relied upon for any decisions.

prediction-of-probability-of-default-using-machine-learing-in-r's People

Contributors

yahyakamel avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

jasanirr

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.