Credit Card Fraud Detection - Autoencoder, KNN, SVM, MLP
The purpose of this project is to leverage machine learning and find out fraudulent transactions of the credit cards. The idea is to prevent fraudulent activity only by analyzing credit card transaction data. The transaction data that has been used is highly imbalanced, having only 0.2% fraud cases. The overall challenge is to make a supervised model that can detect fraud transactions from normal transactions. The data can be found in the following link:
https://www.kaggle.com/mlg-ulb/creditcardfraud
- TSNE plot is used to visualize the transaction data.
- An autoencoder model is trained using the data.
- The encoded layer is extracted from the autoencoder as a feature extraction technique.
- The extracted features are used to train different classification models. e.g., SVM, Logistic Regression, KNN, and Artificial Neural Network (MLP).
- The best model (MLP- Multi-Layer Perceptron) is trained with dropout layers, L1 regularization and achieves AUC = 0.97.
This Project’s GitHub Repository