This project aims to develop a real-time anomaly detection system to identify fraudulent transactions using machine learning techniques. It leverages both basic and deep learning models to enhance accuracy and robustness in detecting fraud.
The project utilizes the Credit Card Fraud Detection dataset, which contains transactions labeled as fraudulent or non-fraudulent.
To set up the project, clone the repository and install the required libraries:
git clone https://github.com/Alirezaesfa/Fraud-Detector.git
pip install -r Requirements.txt
Run the models to start processing transactions and detecting anomalies:
PS1: If you want to train your own dataset make sure you don't forget to change the names
PS2: The Target variable is a class variable so if you are using another dataset do adjustments accordingly
python TraditionalModels.py
python NeuralModels.py
git add .
git config --global user.name "YOURGITUSERNAME"
git config --global user.email "YOUREMAIL"
git commit -m "Leave a note about what you have changed"
git push https://your_username:your_token@GIT URL TO YOUR REPO.git master
We will explore advanced deep learning models, including autoencoders and LSTMs, to further improve detection accuracy. These models will help us capture complex fraud patterns and detect anomalies more effectively. Performance comparisons with the basic models will also be included.
Comprehensive documentation is provided through GitHub Actions to ensure up-to-date details on all code functions, model choices, and experimental results. The documentation includes explanations of model performance, evaluation metrics, and additional insights. See the workflows directory for automatic documentation updates.