Skip to content

Built a Neural Network in Keras that beat the Top Voted Kaggle kernel and explained its predictions using Rules and the package "Anchors" proposed in the paper High Precision Model-Agnostic Explanations published in AAAI in 2018.

License

Notifications You must be signed in to change notification settings

AristotelisPap/Lending-Club-Loan-Charge-off-Prediction-using-Neural-Networks-and-Deep-Learning-Explanation-models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Data

This dataset contains the full Lending Club data available from their site. There are separate files for accepted and rejected loans. The accepted loans also include the FICO scores, which can only be downloaded when you are signed in to Lending Club and download the data. The data used contain all the Loans of the Lending Club during the period 2007 - 2018 consisting of > ~1.5M samples and > 150 features. Our goal in this project was the prediction of whether someone who submits an application for a loan, will be able to Fully Pay the loan or if the loan will be Charged off.

Model

We trained a 7-layer NN using Keras and since we had a class-imbalance problem, we applied Class Weighting to the posterior probabilities and Early Stopping where we used the F1-score as the evaluation metric in order to pick the best model.

Results

Even though we built a very simple model, the 7-layer NN was able to beat the Top Voted kernel in Kaggle as can be shown here Kaggle Top Kernel by using exactly the same data preprocessing techniques. More specifically, the top Kaggle kernel had achieved AUC=0.689 while our model achieved AUC = 0.695 as can be shown in the following figure:

Fig. ROC curve of our model.

About

Built a Neural Network in Keras that beat the Top Voted Kaggle kernel and explained its predictions using Rules and the package "Anchors" proposed in the paper High Precision Model-Agnostic Explanations published in AAAI in 2018.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published