Skip to content

Comparing the performance of different models in detecting credit card fraud before and after hyperparameter tuning

Notifications You must be signed in to change notification settings

aakanshadalmia/Credit-Card-Fraud-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Fraud Detection for Credit Card Transactions

This project deals with building an end-to-end model to detect the occurrence of fraudulent transactions in a credit card company.

Dataset contains around 284,807 transactions with only 492 fraud transactions suggesting high imbalance in the datatset

  1. Data Preprocessing: Data was scaled and Principal Component Analysis was applied to the data to reduce dimensionality while still retaining maximum information

  2. Model Training: Multiple models like Decision Tree, KNN, Logistic Regression, SVM, Random Forest, XGBoost have been trained on the transformed dataset

  3. Model Evaluation: Keeping in mind the high imbalance in the dataset, F1 score has been used to evaluate the peformance of the model

  4. Improvisation: To further improve the performance of the models, hyperparameter tuning was conducted to obtain the best set of paramaters for each model

  5. Conclusion: Finally, the performance of all models was compared to reveal the best performing model

image

About

Comparing the performance of different models in detecting credit card fraud before and after hyperparameter tuning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published