Logistic classification model for the detection of fraudulent credit card payments
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
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.
- 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.
It is essential to have the working dataset downloaded and ready: https://www.kaggle.com/datasets/mlg-ulb/creditcardfraud.
The Jupyter notebook is ready to be downloaded and executed.
- 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).
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Javier Requena - GitHub - javier.requena@protonmail.com
Project Link: https://github.com/Javier-Requena/card-payment-fraud-detector-python