Skip to content

A simple classification model which uses a loan dataset to predict whether a person would acquire a loan or not

Notifications You must be signed in to change notification settings

VarunK1505/Personal-Loan-Analysis-using-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Personal-Loan-Analysis-using-Classification

Context

This case is about a bank (Thera Bank) which has a growing customer base. Majority of these customers are liability customers (depositors) with varying size of deposits. The number of customers who are also borrowers (asset customers) is quite small, and the bank is interested in expanding this base rapidly to bring in more loan business and in the process, earn more through the interest on loans. In particular, the management wants to explore ways of converting its liability customers to personal loan customers (while retaining them as depositors). A campaign that the bank ran last year for liability customers showed a healthy conversion rate of over 9% success. This has encouraged the retail marketing department to devise campaigns to better target marketing to increase the success ratio with a minimal budget.

The department wants to build a model that will help them identify the potential customers who have a higher probability of purchasing the loan. This will increase the success ratio while at the same time reduce the cost of the campaign.

Content

Column descriptions

ID Customer: ID Age : Customer's age in completed years Experience #years of professional experience Income Annual income of the customer ($000) ZIPCode: Home Address ZIP code. Family : Family size of the customer CCAvg Avg : spending on credit cards per month ($000) Education : Education Level including 1: Undergrad 2: Graduate 3: Advanced/Professional Mortgage : Value of house mortgage if any. ($000) Personal Loan : Did this customer accept the personal loan offered in the last campaign? Securities Account : Does the customer have a securities account with the bank? CD Account : Does the customer have a certificate of deposit (CD) account with the bank? Online : Does the customer use internet banking facilities? CreditCard : Does the customer uses a credit card issued by UniversalBank?

Models Used

Logisitc Regression

Logistic regression, despite its name, is a classification model rather than regression model. Logistic regression is a simple and more efficient method for binary and linear classification problems. It is a classification model, which is very easy to realize and achieves very good performance with linearly separable classes. It is an extensively employed algorithm for classification in industry. The logistic regression model, like the Adaline and perceptron, is a statistical method for binary classification that can be generalized to multiclass classification. Scikit-learn has a highly optimized version of logistic regression implementation, which supports multiclass classification task

KNeighbours Classifier

K-Nearest Neighbour is one of the simplest Machine Learning algorithms based on Supervised Learning technique. K-NN algorithm assumes the similarity between the new case/data and available cases and put the new case into the category that is most similar to the available categories. K-NN algorithm stores all the available data and classifies a new data point based on the similarity. This means when new data appears then it can be easily classified into a well suite category by using K- NN algorithm. K-NN algorithm can be used for Regression as well as for Classification but mostly it is used for the Classification problems.

SVM Classifier

“Support Vector Machine” (SVM) is a supervised machine learning algorithm that can be used for both classification or regression challenges. However, it is mostly used in classification problems. In the SVM algorithm, we plot each data item as a point in n-dimensional space (where n is a number of features you have) with the value of each feature being the value of a particular coordinate. Then, we perform classification by finding the hyper-plane that differentiates the two classes very well.

About

A simple classification model which uses a loan dataset to predict whether a person would acquire a loan or not

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published