Credit Card Approval Prediction Report
Credit Card Approval Prediction Report
OF THE COURSE
CREDIT CARD
APPROVAL PREDICTION
SUBMITTED BY
HARI PRASAD BODDEPALLI 12112271
AYUSH GUPTA 12105138
ABHINANDHAN 12108947
I
DECLERATION
I hereby declare that the project work entitled “Credit card Approval Prediction” is an authentic
record of my own work carried out as requirements of Project for the award of B. Tech degree in
Computer Science and Engineering from Lovely Professional University, Phagwara, under the
guidance of Dr Dhanpratap Singh, during August to December 2023. All the information furnished
in this project report is based on my own intensive work and is genuine
ABHINANDHAN 12108947
CERTIFICATE
This is to certify that the declaration statement made by this student is correct to the best of my
knowledge and belief. He has completed this Project under my guidance and Supervision. The
present work is the result of his original investigation, effort and study. No part of the work has
ever been submitted for any other degree at any University. The Project is fit for the submission
and partial fulfilment of the conditions for the award of B. Tech degree in Computer Science and
Engineering from Lovely Professional University, Phagwara.
Dr Dhanpratap Singh
Phagwara, Punjab
II | Page
TABLE OF CONTENTS
1. Introduction
2. What is Credit Card?
3. Credit Card Scoring and Decisioning Models
4. Effects of ML credit card customer experience
5. Comparison of different supervised machine
learning classifiers to predict credit card
approvals
6. Predicting credit card approval of customers
through customer profiling using machine
learning
7. Advantages of a credit card
8. Disadvantages of a credit card
9. Challenges of credit card approval using
machine learning
10. Model generation
11. Conclusion and future scope
12. References
III
INTRODUCTION
Credit approval, such as for credit cards, is crucial to the
modern economy. In today's interconnected global economy,
credit approval, such as for credit cards, plays a pivotal role.
Even in developing nations like India, the accessibility of credit
cards has become a reality. However, for financial institutions,
the challenge lies in accurately assessing whether a consumer
represents an acceptable credit risk for granting credit. This
challenge is particularly pronounced in emerging economies,
where conventional rules and models from more developed
nations may not be directly applicable.
In this report, we present our investigation into the prediction
of credit card approval for applicants using various machine
learning algorithms. Our research journey begins with data
preprocessing and comprehensive exploratory data
analysis(EDA) to gain deeper insights into the critical factors
influencing the model's training. Subsequently, we apply ten
distinct machine learning algorithms to the preprocessed data,
aiming to identify the model that strikes the optimal balance
between accuracy and precision-recall trade-off.
The report is structured as follows: In Section II, we share the
insights derived from our literature review, shedding light on
the existing knowledge in this domain. In Section III, we provide
a detailed exposition of our entire system, covering data
preprocessing, model selection, and evaluation. We also
present and analyze the results obtained, comparing them from
different perspectives. Finally, in the concluding section, we
summarize our findings and observations.
IV | Page
WHAT IS A CREDIT CARD?
V
CREDIT SCORING AND
DECISIONING MODELS
Credit Scoring
VI | Page
Based on these data points, models generate a credit score. This credit
score is then used to decide whether to extend credit to a borrower
and at what interest rate. Credit scores typically range from 300 to
850, with higher scores indicating less risk to the lender.
Credit Decisioning
VII
In another example, lenders cannot discriminate based on age, race,
religion, nationality, or marital status, and such factors must be
handled appropriately by the model. Ultimately, the decisioning
process may result in acceptance, rejection, or a request for additional
information.
ML is perfect for the credit card industry as the technology can help
companies make sense of humongous sets of data and give insights
about every single customer within the ecosystem. From bolstering
fraud detection to fine-tuning personalized financial trajectories, this
cutting-edge technology is orchestrating a paradigm shift in financial
services.
VIII | Page
Machine learning operates as a type of artificial intelligence, enabling
computers to learn like humans do, by building on past experiences.
It's like teaching a computer to recognize patterns in information
without much human help. This technology delves into data, finding
patterns on its own, and doesn't need constant human guidance.
Any task that follows certain patterns or rules from data can be
automated using machine learning. This means things like handling
customer calls, managing accounts, or even going through resumes
can be done by machines. Machine learning systems tackle large
amounts of data, finding important patterns within it.
IX
COMPARISON OF DIFFERENT
SUPERVISED MACHINE
LEARNING CLASSIFIERS TO
PREDICT CREDIT CARD
APPROVALS :-
This study contrasts various supervised machine learning models to
forecast the likelihood that a credit card request will be accepted
based on various criteria like Precision, Recall, Time, Accuracy, and
F1 Score. The aim here was to identify the best classifier for
automatically predicting credit card approval based on the
characteristics of credit card applications. The analysis also
demonstrates that every classifier performs better in one or more
metrics. To improve the performance of each model, the method used
hyperparameter optimization based on GridSearchCV to optimise
certain parameters. The UCI Machine Learning Repository dataset
used in this work was unbalanced and hence F1 score was relied on
up to test the models. The classifiers used in this study are Logistic
Regression, Random Forest, Decision Tree, XGBoost, Gradient
Boost, Support Vector Machine (SVM), and Sequential Neural
Network. Finally, based on F1 Score and AUC value, the research
X | Page
finds that Random Forest classifier is the best model for predicting
Credit Card approvals with a F1 score of 86%. Although the research
tries multiple machine learning models to test the dataset, there was
no attempt made to balance out the data for better results.
XI
raised. This study however falls short in testing various other
classification algorithms that could show better results in the future
when more variables are taken in consideration.
ADVANTAGES OF A
CREDIT CARD
A credit card has several benefits with thw help of ml as well . They
are as follows:
1. EMI Option :
Credit cards are excellent for purchasing goods and services with a
low monthly EMI. This alleviates the burden of having to pay the
money in one lump sum. Furthermore, EMI payments via credit cards
may be more convenient than obtaining a personal loan.
XII | Page
3. Protection of Purchase :
Credit cards provide extra security in the form of insurance for card
purchases that are lost, damaged, or stolen. If you want to file a claim,
you can use the credit card statement to back it up.
5. Enhanced Accuracy:
6. Faster Processing:
XIII
Traditional credit card approval processes can be time-consuming,
involving manual reviews, paperwork, and extensive documentation.
Machine learning streamlines this process by automating many of the
tasks. By leveraging algorithms and predictive models, financial
institutions can expedite credit card approvals, providing customers
with faster access to credit facilities.
7.Personalized Offerings:
8.Risk Mitigation:
XIV | Page
DISADVANTAGES OF A
CREDIT CARD :-
Here are a few disadvantages of using a Credit Card:
1. Hidden Costs :-
Credit cards may appear easy and straightforward initially, but
they comprise numerous hidden costs that can increase the
expense amount by a high margin. These extra charges can
come in the form of late payment costs, renewal fees,
processing fees etc. Nevertheless, if you miss any payment, it
can cause a penalty and diminish your credit history.
2. Restricted Drawings :-
Credit cards, unlike debit cards, do not offer as many benefits
when it comes to cash withdrawals. This is due to the fact that
some credit cards charge an additional fee in addition to an
annual interest rate of approximately 40%.
CHALLENGES OF CREDIT
CARD APPROVAL USING
MACHINE LEARNING
1. Data Privacy and Security: The use of machine learning in
credit card approval requires access to vast amounts of
XV
sensitive customer data. It is crucial for financial institutions to
implement robust data privacy and security measures to protect
this information from unauthorized access or misuse. Strict
compliance with data protection regulations and encryption
techniques is essential to ensure the confidentiality and
integrity of customer data.
2. Model Interpretability and Transparency: Machine learning
algorithms can be complex, making it challenging to interpret
and explain the decisions they make. This lack of interpretability
can pose challenges in terms of regulatory compliance and
consumer trust. Efforts must be made to develop transparent
models that provide clear explanations for credit card approval
decisions, ensuring fairness and accountability.
3. Bias and Fairness: Machine learning algorithms are
susceptible to bias as they learn from historical data that may
contain inherent biases. This can lead to discriminatory
practices in credit card approval, impacting certain
demographic groups unfairly. It is important to continuously
monitor and evaluate machine learning models to ensure
fairness and mitigate any bias that may arise.
XVI | Page
MODEL GENERATION
Step 1: Loading datasets
The code begins by importing essential libraries for data
manipulation, visualization, and machine learning. These
libraries include Pandas (pd), NumPy (np), Seaborn (sns),
Matplotlib (plt), and specific modules from scikit-learn. The
primary goal is to load and process two datasets:
"application_record.csv" and "credit_record.csv."
XVII
Step 4: Data Cleaning
Data cleaning is a crucial step to ensure the quality and integrity of
the dataset:
- *Missing Values Check*: The code uses data.isnull().sum() to
count and display missing values in each column. This is
important for identifying columns with missing data.
- *Removing Rows with Missing Target Variable*: Rows with
missing values in the 'STATUS' column are removed using
data.dropna(subset=['STATUS']). This is done to ensure that
only records with credit status information are retained for the
modeling process.
XVIII | Page
Step 7: Converting categorical variables
to numerical using one-hot encoding
Many machine learning algorithms require numerical input, so
categorical variables need to be converted into a numerical format.
One-hot encoding is used for this purpose. It creates binary columns
for each category within the categorical variables, indicating the
presence or absence of each category.
XIX
then trained on the training data (X_train and y_train) to learn patterns
and relationships within the data.
XX | Page
FUTURE SCOPE
To further improve our system, we can use deep learning models as it
can increase our accuracy. Neural networks can be used as it can
discover hidden patterns and correlations in raw data, cluster and
classify it, and continuously learn and improve over time. In the
future, this credit card approval system will be able to be optimized
and implemented in an artificial intelligence environment. By
displaying the prediction result on a web or desktop application, the
system can also be automated. Thus, this work has a good future
scope and can be enhanced by adding other various feature for better
predictions.
CONCLUSION
In this paper, we have mentioned various machine learning methods
to predict whether a credit card will be approved for an individual or
not. Several parameters were taken into consideration as these
parameters make the model more effective and help institutions make
better decisions to avoid fraud and losses. We applied a lot of data
pre-processing techniques as good amount of data pre-processing
contributes effectively to developing better performance of traditional
machine learning models. During Exploratory Data Analysis, we
plotted a lot of graphs and charts to study the dataset deeply so that
we can get a better understanding of the dataset. This was done so that
we can decide which models to apply which can perform well on this
dataset and can correctly predict whether to approve a credit card or
not. This prediction system can be helpful to various banks as it
makes their task easier and increases efficiency as compared to the
manual system which is currently used by many banks and this
system is cost effective.
XXI
REFERENCES
• www.google.com
• www.wikipedia.com
• www.ijraset.com
• https://github.com/AyushGupta16/Credit-Card-
Approval-Prediction.git
XXII | Page