Git Product home page Git Product logo

zatafa / 4_oc_ai_credit_risk_model Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.7 MB

Predict probability of default on credit

Jupyter Notebook 100.00%
supervised-machine-learning linear-models non-linear-classification naive-bayes-classification logistic-regression-classifier stochastic-gradient-descent random-forest-classifier lightgbm shapley-value interpretable-machine-learning imbalanced-data

4_oc_ai_credit_risk_model's Introduction

🎯 Scoring Model

Use historical loan application data to predict whether or not an applicant will be able to repay a loan.

Expected output: a probability of default prediction, between 0 and 1.

πŸ—‚οΈ Dataset

The dataset is provided by Home Credit

πŸ“œ Tasks

  • βœ”οΈ Exploratory Data Analysis (EDA);
  • βœ”οΈ Data cleaning;
  • βœ”οΈ Feature engineering;
  • βœ”οΈ Imbalanced classes management;
  • βœ”οΈ Model training: NaΓ―ve Bayes, Logistic Regression, Stochastic Gradient Descent, Random Forest, LightGBM
  • βœ”οΈ Model evaluation: AUC (Area Under the Curve), Recall, F1-Score
  • βœ”οΈ Hyperparameters optimization;
  • βœ”οΈ Evaluation of variable importance with SHAP (Shapley Additive exPlanations).

Distribution of the classes

Performance of lightGBM

Global explanation with SHAP

πŸ’» Dependencies

scikit-learn, LightGBM, SHAP

πŸ“Œ References

▢️ Further reading

4_oc_ai_credit_risk_model's People

Contributors

zatafa avatar

Watchers

 avatar

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.