Credit Card Fraud Detection Using Random Forest and K-Nearest Neighbors (KNN) Algorithms

Abdulaziz Abdulrhman Alhabib, Abdulaziz Fae Alasiri, Mazen Bunayan Alharbi, Sultan Ahmad, A. E.M. Eljialy

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

In this paper, we explored the application of both the Random Forest and K-Nearest Neighbors (KNN) algorithms for fraud detection. Fraudulent activities pose significant threats to various industries, making their detection crucial. We reviewed related works on fraud detection, highlighting the effectiveness of both the Random Forest and KNN methods. We proposed a system utilizing a combination of Random Forest and KNN models for credit card fraud detection, detailing its architecture and methodology. The system preprocesses and splits data, trains the models, and evaluates their performance on a testing set. We analyzed the results, demonstrating the accuracy, robustness, and scalability of the proposed system. Additionally, we presented data on the most common hours for fraudulent transactions and the top jobs associated with them. Overall, this study emphasizes the efficacy of utilizing both Random Forest and KNN algorithms in mitigating the risks associated with fraud and offers a valuable tool for safeguarding against financial malfeasance.

Original languageEnglish
Title of host publicationProceedings of 5th International Conference on Computing, Communications, and Cyber-Security - IC4S 2023
EditorsPaulo J. Sequeira Gonçalves, Pradeep Kumar Singh, Sudeep Tanwar, Gregory Epiphaniou
PublisherSpringer Science and Business Media Deutschland GmbH
Pages383-395
Number of pages13
ISBN (Print)9789819773701
DOIs
StatePublished - 2025
Event5th International Conference on Computing, Communications, and Cyber Security, IC4S 2023 - Delhi, India
Duration: 29 Feb 20241 Mar 2024

Publication series

NameLecture Notes in Networks and Systems
Volume1128 LNNS
ISSN (Print)2367-3370
ISSN (Electronic)2367-3389

Conference

Conference5th International Conference on Computing, Communications, and Cyber Security, IC4S 2023
Country/TerritoryIndia
CityDelhi
Period29/02/241/03/24

Keywords

  • Credit card
  • Fraud detection
  • KNN
  • Random Forest
  • Transactions

Fingerprint

Dive into the research topics of 'Credit Card Fraud Detection Using Random Forest and K-Nearest Neighbors (KNN) Algorithms'. Together they form a unique fingerprint.

Cite this