Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Credit Card Default Prediction

A Machine Learning project that predicts whether a customer is likely to default on their credit card payment using historical customer information and financial attributes.


📌 Project Overview

This project applies supervised machine learning techniques to classify customers as either likely to default or not default on their credit card payments.

The workflow includes:

  • Data Loading
  • Data Cleaning
  • Exploratory Data Analysis (EDA)
  • Data Visualization
  • Feature Selection
  • Model Training
  • Model Evaluation
  • Prediction on Test Data

🎯 Objective

The goal of this project is to build a binary classification model that can accurately predict credit card default risk using customer demographic and financial information.


🛠️ Technologies Used

  • Python
  • Jupyter Notebook
  • Pandas
  • NumPy
  • Matplotlib
  • Seaborn
  • Scikit-learn

📂 Project Structure

Credit-Card-Default-Prediction/
│
├── Credit_Card_Default_Prediction.ipynb
├── README.md
├── requirements.txt
└── LICENSE

📊 Machine Learning Workflow

  1. Import libraries
  2. Load dataset
  3. Explore the dataset
  4. Handle missing values (if any)
  5. Visualize important features
  6. Split data into training and testing sets
  7. Train Logistic Regression model
  8. Evaluate model using:
    • Accuracy Score
    • Confusion Matrix
    • Classification Report
  9. Predict outcomes on unseen data

📈 Evaluation Metrics

The model performance is evaluated using:

  • Accuracy
  • Precision
  • Recall
  • F1-Score
  • Confusion Matrix

🚀 How to Run

  1. Clone this repository
git clone https://github.com/akhtarsaaeem-sys/Credit-Card-Default-Prediction.git
  1. Install the required libraries
pip install -r requirements.txt
  1. Open the notebook
jupyter notebook Credit_Card_Default_Prediction.ipynb

Run all cells to reproduce the results.


📚 Dataset

The project uses a Credit Card Default dataset for binary classification.


👤 Author

Saaeem Akhtar

GitHub: https://github.com/akhtarsaaeem-sys


📄 License

This project is licensed under the MIT License.

About

Internship machine learning project for predicting credit card default risk using Logistic Regression. Includes data preprocessing, EDA, visualizations, model training, and performance evaluation with Python and scikit-learn.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages