Skip to content

πŸš€ Machine Learning & Data Science project for credit card fraud detection using Python, Pandas, Scikit-learn, and Jupyter Notebook β€” includes EDA, data preprocessing, class imbalance handling (SMOTE), multiple classification models, and hyperparameter tuning for high-accuracy fraud detection.

Notifications You must be signed in to change notification settings

HemanthLove/Credit-Card-Fraud-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Credit Card Fraud Detection

πŸš€ End-to-End Machine Learning Project using Logistic Regression, Random Forest, and advanced data preprocessing to detect fraudulent credit card transactions.


πŸ“Œ Project Overview

Credit card fraud is a significant problem for financial institutions and customers.
This project builds a machine learning model to classify transactions as fraudulent or legitimate using anonymized transaction data.


πŸ“‚ Dataset

The full dataset is too large to upload here.
You can download it from Kaggle:
πŸ”— Credit Card Fraud Detection Dataset

After downloading, place the creditcard.csv file in the project folder before running the notebook.


πŸ› οΈ Tech Stack

  • Language: Python
  • Libraries: Pandas, NumPy, Matplotlib, Seaborn, Scikit-learn, Joblib
  • Tools: Jupyter Notebook, GitHub

πŸ“Š Workflow

  1. Data Preprocessing
    • Handling imbalanced dataset
    • Feature scaling
  2. Model Building
    • Logistic Regression
    • Random Forest Classifier
  3. Model Evaluation
    • Accuracy
    • Precision, Recall, F1-Score
    • Confusion Matrix
  4. Model Saving
    • Serialized with joblib for deployment

πŸ“ˆ Results

  • Best Model: Random Forest Classifier
  • Precision: 0.98
  • Recall: 0.96
  • F1 Score: 0.97

git clone https://github.com/HemanthLove/Credit-Card-Fraud-Detection.git cd Credit-Card-Fraud-Detection

About

πŸš€ Machine Learning & Data Science project for credit card fraud detection using Python, Pandas, Scikit-learn, and Jupyter Notebook β€” includes EDA, data preprocessing, class imbalance handling (SMOTE), multiple classification models, and hyperparameter tuning for high-accuracy fraud detection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published