This project focuses on detecting fraudulent credit card transactions using Machine Learning techniques in R. By leveraging classification models like Logistic Regression and Decision Trees, we aim to identify fraudulent transactions effectively.
- Language: R
- Libraries: ranger, caret, data.table, caTools, pROC, rpart, rpart.plot
- Algorithms: Logistic Regression, Decision Tree
- Dataset: Kaggle - Credit Card Fraud Detection
- Project Report: Click here
- Dataset: Download
βοΈ Data preprocessing and normalization for better model accuracy.
βοΈ Exploratory Data Analysis (EDA) including statistical insights.
βοΈ Implementation of Logistic Regression and Decision Trees for classification.
βοΈ ROC Curve Analysis for model evaluation.
βοΈ Fraud detection with high accuracy and minimal false positives.
- Logistic Regression: Achieved a good trade-off between precision and recall.
- Decision Tree: Provided interpretability with visual decision boundaries.
- ROC Curve Analysis: Evaluated the models based on AUC scores.
- Install required R packages:
install.packages(c("ranger", "caret", "data.table", "caTools", "pROC", "rpart", "rpart.plot"))
- Load the dataset in R.
- Run the script to train and evaluate the models.
π‘ Want to improve this project? Feel free to fork, create a branch, and submit a pull request!
π LinkedIn: Ishan Gupta
π GitHub: IshanGupta09