Skip to content

m-adil-ali/Credit-Card-Default-Clients

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credit Card Default Clients Prediction Project:

Streamlit Live Link

📊 Overview

  • This project focuses on predicting credit card defaults using machine learning techniques. We’ll walk through the steps from data preparation to model deployment.

Steps Taken

  1. Data Acquisition
    Obtained the dataset from the UCI Machine Learning Repository.
    Explored the metadata to understand its structure and features.
  2. Data Cleaning
    Cleaned the dataset by handling missing values, duplicates, and outliers.
    Ensured data consistency and integrity.
  3. Exploratory Data Analysis (EDA)
    Conducted EDA to gain insights into the data.
    Visualized distributions, correlations, and patterns.
  4. Preprocessing
    Imputed missing values using appropriate techniques (mean, median, etc.).
    Checked for duplicate records.
    Prepared the data for model training.
  5. Model Selection
    Split the dataset into training and testing sets.
    Normalized features to ensure consistent scaling.
    Experimented with various machine learning models:
    • Logistic Regression
    • Decision Tree Classifier
    • Random Forest Classifier
  6. Model Evaluation
    Evaluated model performance using metrics such as accuracy, precision, recall, and F1-score.
    Selected the best-performing model based on validation results.
  7. Model Deployment
    Saved the best model as a .pkl file for future use.
    Created a .py file for the user interface using Streamlit to allow real-time predictions based on user input.

Usage

Clone this repository and install the required dependencies.
Load the pre-trained model using the .pkl file.
Use the .py file to make a webpage to predict credit card defaults based on real-time user input.
Feel free to customize this template with specific details about your dataset, features, and findings.
Good luck with your project! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published