Strategic Fraud Detection in Credit Card Transactions Through Machine Learning Insights
摘要
In this data science study, we intended to apply machine learning algorithms in R to build a classifier that can detect credit card fraud. For analysis, this work used the card transactions dataset with both fraudulent and non-fraudulent transactions. Four machine learning algorithms were used to execute Logistic Regression (LR), Decision Trees (DTs), Artificial Neural Networks (ANNs), and Gradient Boosting Machines (GBMs) classifiers on the data. Each model was assessed using accuracy, precision, recall, F1-score, Receiver Operating Characteristic (ROC) curve, and Area Under the Curve (AUC). The best-performing model was selected and the findings were discussed while studying the findings. With an accuracy rate of 95.2%, the precision score was also optimum at 91%, recall was optimal at 90%, and F1-score was at 91%, which put the GBM as the ideal method for detecting fraud for this given dataset.