mayurborkar / Loan-Approval-Prediction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loan-Approval-Prediction

Predict Loan Eligibility for Dream Housing Finance company

Dream Housing Finance company deals in all kinds of home loans. They have presence across all urban, semi urban and rural areas. Customer first applies for home loan and after that company validates the customer eligibility for loan. Company wants to automate the loan eligibility process (real time) based on customer detail provided while filling online application form. These details are Gender, Marital Status, Education, Number of Dependents, Income, Loan Amount, Credit History and others. To automate this process, they have provided a dataset to identify the customers segments that are eligible for loan amount so that they can specifically target these customers.

Data Dictionary

Train file: CSV containing the customers for whom loan eligibility is known as 'Loan_Status' Capture

Test file: CSV containing the customer information for whom loan eligibility is to be predicted Capture2

Submission file format

Capture3

Evaluation Metric

Your model performance will be evaluated on the basis of your prediction of loan status for the test data (test.csv), which contains similar data-points as train except for the loan status to be predicted. Your submission needs to be in the format as shown in sample submission. We at our end, have the actual loan status for the test dataset, against which your predictions will be evaluated. We will use the Accuracy value to judge your response.

Model & Their Accuracy

1. Decision Tree Classifier:-(Without Adding Max Depth & Min Sample Leaf)

Capture4

a. DTC Accurcay With Max Depth Chart: Capture5

b. DTC Accuracy With Min Sample Leaf: Capture6

2. Decision Tree Classifier:-(With Adding Max Depth=3 & Min Sample Leaf=35)

Capture7

3. Logistic Regression:(Applying Threshold Value) Capture8

a. Logistic Regression:(Applying Threshold Value=0.4)

Capture9

Librarey Used:

scikit-learn-logo-small

Graphviz Library Link Here

About


Languages

Language:Jupyter Notebook 100.0%