Skip to content

Javier-Requena/card-payment-fraud-detector-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Card payment fraud detector

Logistic classification model for the detection of fraudulent credit card payments
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact

About The Project

In this project, we have developed a model for detecting fraudulent credit card payments. To achieve this, we implemented a binary classifier using logistic regression, preceded by techniques for handling imbalanced data (undersampling). To conclude, we assessed the model's effectiveness using specific metrics.

The project will be expanded by employing different techniques for addressing imbalanced data (oversampling, SMOTE, etc.) and incorporating additional machine learning models with fine-tuned hyperparameter adjustments to maximize the efficacy of our model.

Logo

(back to top)

Built With

  • Pyhton
  • Numpy
  • Pandas
  • ScikitLearn

(back to top)

Getting Started

  • images: a folder containing the images used in the Jupyter notebook and README.md.
  • credit_card_fraud_detector.ipynb: a Jupyter notebook that includes the entire project, along with markdown comments explaining the entire process.
  • README.md: this file.

Prerequisites

It is essential to have the working dataset downloaded and ready: https://www.kaggle.com/datasets/mlg-ulb/creditcardfraud.

Usage

The Jupyter notebook is ready to be downloaded and executed.

(back to top)

Roadmap

  • Initial Data Distribution Analysis
  • Dealing with Imbalanced Data
    • Random undersampling techique
    • Oversampling (SMOTE)
  • Feature relation analysis
  • Implementation of the classification model
    • Logistic Regression
    • K-nearest Neighbors Classifier
    • Support Vector Classifier
    • Decision Tree Classifier

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Javier Requena - GitHub - javier.requena@protonmail.com

Project Link: https://github.com/Javier-Requena/card-payment-fraud-detector-python

(back to top)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published