Neural Network Loan Risk Prediction API

Jump to the bottom of the form
Test this API:
Fill form with a typical
Enter a number or "N/A"
Enter a number or "N/A"
Enter a number or "N/A"
Enter a number or "N/A"
Enter a number or "N/A"
Enter a number or "N/A"
Enter a number or "N/A"
Enter a number or "N/A"
Enter a number or "N/A"
Enter a number or "N/A"
Enter a number or "N/A"
API output:

View the source on GitHub, or just the model's source on Kaggle.

LendingClub is the world's largest peer-to-peer lending platform. Until recently (through the end of 2018), LendingClub published a public dataset of all loans issued since the company's launch in 2007.

I decided to create a neural network with this dataset to predict the fraction of an expected loan return that a prospective borrower will pay back. Now, to share it, I've created this API to serve the model. If you'd like to interface with this API directly (rather than using the above web form), send a GET request to https://tywmick.pythonanywhere.com/api/predict (just make sure to include every parameter in your query string).

This API is written in Python with Flask. I also used TensorFlow/Keras to load and predict with the model I created, and pandas and scikit-learn to manipulate the incoming API data a bit before loading it into the model.

Please enjoy, and let me know if you have any questions!

Sincerely,

Ty