Skip to content

dhruwsunita/Loan-Eligibility-Prediction

Repository files navigation

Loan-Eligibility-Prediction

Overview:

This project aims to predict the eligibility of individuals for loans based on various factors using machine learning techniques. Predicting loan eligibility is a common problem faced by banks and financial institutions, and this project provides a solution using Python programming language and popular machine learning algorithms.

Project Snapshots:

  • Visualising different features using countplot -

g1 g2 g3

  • Checking loan amount and total income through graph - g4 g5

  • Visualising correlation between diffrent features - g6

  • Confusion Matrix

g7

Dataset

The dataset used for this project contains information about individuals including their gender, marital status, education, employment, income, loan amount, loan term, and credit history. The target variable is whether the individual's loan application was approved or not.

Download dataset from here - loan_data

Features

  • Data Preprocessing: The dataset is preprocessed to handle missing values, encode categorical variables, and scale numerical features.
  • Model Building: Several machine learning models such as Logistic Regression, Random Forest, and Decision Tree Classifier are trained on the preprocessed data to predict loan eligibility.
  • Model Evaluation: The models are evaluated using various performance metrics such as accuracy, precision, recall, and score to assess their effectiveness.

Requirements

  • Python 3.11s
  • Pandas
  • NumPy
  • Scikit-learn