Commercial banks receive a lot of applications for credit cards. Many of them get rejected for many reasons, like high loan balances, low income levels, or too many inquiries on an individual's credit report, for example. Manually analyzing these applications is mundane, error-prone, and time-consuming (and time is money!). Luckily, this task can be automated with the power of machine learning and pretty much every commercial bank does so nowadays. In this notebook, we will build an automatic credit card approval predictor using machine learning techniques, just like the real banks do.
The structure of this notebook is as follows:
- First, we will start off by loading and viewing the dataset.
- We will see that the dataset has a mixture of both numerical and non-numerical features, that it contains values from different ranges, plus that it contains a number of missing entries.
- We will have to preprocess the dataset to ensure the machine learning model we choose can make good predictions.
- After our data is in good shape, we will do some exploratory data analysis to build our intuitions.
- Finally, we will build a machine learning model that can predict if an individual's application for a credit card will be accepted.
The probable features in a typical credit card application are Gender
, Age
, Debt
, Married
, BankCustomer
, EducationLevel
, Ethnicity
, YearsEmployed
, PriorDefault
, Employed
, CreditScore
, DriversLicense
, Citizen
, ZipCode
, Income
and finally the ApprovalStatus
- Used Logistic regression with 85% accuracy in predicting credit card approval.
- Used grid search for improving hyperparameters.