Crossref DOIMemberCiteFactoropen accessissn
SJIF Impact Factor 8.659 | ISSN: 2582-3930
IJSREM Logo

International Journal of Scientific Research in Engineering and Management

(Gateway to Global Scholars - An International, Scholarly, Multi-Disciplinary, Open Access Journal)

Peer-Reviewed Journal Designed to Meet UGC's Quality Parameters

HomeCurrent IssuePast IssuesPay OnlineConferencesEditorial BoardAbout UsContact Us
IJSREM

Loading article...

Follow Us

  • Google Scholar
  • ResearchGate
  • Academia.edu
  • Mendeley
  • LinkedIn
  • Facebook
  • Instagram

Journal Policies

  • Peer Review Policy
  • Publication Ethics
  • Copyright Infringement
  • Refund & Cancellation Policy
  • Terms and Conditions
  • Privacy Policy

Journal Identifiers & Licenses

  • ISSN Verified: 2582-3930ISSN Verified: 2582-3930
  • Crossref DOI: 10.55041Crossref DOI: 10.55041
  • SJIF Ranking: 08.659SJIF Ranking: 08.659
  • Licensed under CC BY 4.0Licensed under CC BY 4.0
  • ISO Certification: 9001:2015ISO Certification: 9001:2015
  • Indexed & Cited In: Google ScholarIndexed & Cited In: Google Scholar

Contact Us

International Journal of Scientific Research in Engineering and Management (IJSREM)

#62/1, New No 7, 1st Cross, 2nd Main, Ganganagar, R T Nagar, Bangalore North, Bangalore, Karnataka, India – 560032
[email protected]+91 93911 67991
logos
logos
Working Hours

Mon – Sat: 9:00 AM – 6:00 PM

Sunday: 10:00 AM – 4:00 PM

+91 93911 67991

© 2026 IJSREM – International Journal of Scientific Research in Engineering and Management. This is an open-access journal. Articles are published under the Creative Commons Attribution (CC BY 4.0) License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

DisclaimerPrivacy PolicyTerms and Conditions
ArticlePeer ReviewedOpen AccessPlagiarism Passed
Paper ID:IJSREM63060

An Explainable Machine Learning Framework for Real-Time Credit Card Fraud Detection using Random Forest and SHAP

Stream/Area:

-

Subject:

-

Paper ID:

IJSREM63060

Volume:

10 |

5 |

May 2026

Pages:

1-6

Publication Frequency:

Monthly (12 issues per year)

DOI
Digital Object Identifier
Not assigned

License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.

Share this article:

Authors

PRT

Payal Rajendra Thube

Master of Computer Applications

Parvatibai Genba Moze College of Engineering

Download Author Certificate
PRB

Prof. Raviraj Bhairat

Master of Computer Applications

Parvatibai Genba Moze College of Engineering

Download Co-Author Certificate

Author Services & Downloads

Full ArticlesAcceptance Certificate

Abstract

The exponential growth of digital payments has been accompanied by a sharp rise in credit card fraud, exposing financial institutions and consumers to large monetary losses. Traditional rule-based fraud detection systems suffer from high false-positive rates, an inability to adapt to evolving fraud patterns, and a lack of transparency in their decisions. This paper presents an explainable, end-to-end machine learning framework for real-time credit card fraud detection. The proposed system integrates a Random Forest classifier with SHapley Additive exPlanations (SHAP) to deliver both accurate and interpretable predictions. The framework is implemented as a three-tier web application using FastAPI for the backend, Streamlit for an interactive frontend, PostgreSQL for persistent storage, and Redis for caching and session management. A built-in transaction simulator, a three-strike account-blocking mechanism, and an SMTP-based alert subsystem are introduced to demonstrate operational behavior under continuous load. Experimental evaluation shows that the model achieves over 93% classification accuracy with sub-100 ms single-prediction latency, while SHAP feature attributions provide analyst-friendly justifications for every decision. The results demonstrate that high accuracy, low latency, and transparent decision-making can be jointly achieved within a single, deployable architecture suitable for fintech and banking environments.

KEYWORDS

Keywords: Credit card fraud detection Machine learning Random Forest Explainable AI SHAP Real-time systems FastAPI Streamlit FinTech.

Cite This Article

Payal Rajendra Thube, Prof. Raviraj Bhairat, "An Explainable Machine Learning Framework for Real-Time Credit Card Fraud Detection using Random Forest and SHAP," International Journal of Scientific Research in Engineering and Management, vol. 10, no. 5, pp. 1-6, May 2026.

Full Article/Conclusion

IX. ConclusionThis paper presented an explainable, real-time credit card fraud detection framework that combines a Random Forest classifier with SHAP explanations and an operational web stack composed of FastAPI, Streamlit, PostgreSQL, and Redis. The system meets demanding non-functional targets — accuracy above 93% and sub-100 ms inference latency — while making each decision auditable through per-feature Shapley attributions. The integration of an alerting subsystem, three-strike account blocking, and a transaction simulator demonstrates that academic ML prototypes can be designed with production realism in mind. The framework can serve as a foundation for future research in concept drift handling, deep sequence models, graph-based fraud detection, and federated learning across financial institutions.

References

[1] S. M. Lundberg and S.-I. Lee, “A unified approach to interpreting model predictions,” in Proc. 31st Int. Conf. Neural Information Processing Systems (NIPS), 2017, pp. 4765–4774. [2] S. M. Lundberg et al., “From local explanations to global understanding with explainable AI for trees,” Nature Machine Intelligence, vol. 2, no. 1, pp. 56–67, 2020. [3] S. Bhattacharyya, S. Jha, K. Tharakunnel, and J. C. Westland, “Data mining for credit card fraud: A comparative study,” Decision Support Systems, vol. 50, no. 3, pp. 602–613, 2011. [4] L. Breiman, “Random forests,” Machine Learning, vol. 45, no. 1, pp. 5–32, 2001. [5] A. Dal Pozzolo, O. Caelen, R. A. Johnson, and G. Bontempi, “Calibrating probability with undersampling for unbalanced classification,” in Proc. IEEE Symp. Computational Intelligence and Data Mining (CIDM), 2015. [6] Reserve Bank of India, “Annual report on banking frauds in India,” 2023. [Online]. Available: https://www.rbi.org.in/ [7] S. Ramírez, “FastAPI — Modern, fast web framework for building APIs.” [Online]. Available: https://fastapi.tiangolo.com/ [8] Streamlit Inc., “Streamlit — The fastest way to build data applications.” [Online]. Available: https://streamlit.io/ [9] F. Pedregosa et al., “Scikit-learn: Machine learning in Python,” J. Mach. Learn. Res., vol. 12, pp. 2825–2830, 2011. [10] SHAP Contributors, “SHAP (SHapley Additive exPlanations) documentation.” [Online]. Available: https://shap.readthedocs.io/ [11] PostgreSQL Global Development Group, “PostgreSQL: The world’s most advanced open source database.” [Online]. Available: https://www.postgresql.org/ [12] Redis Ltd., “Redis — The real-time data platform.” [Online]. Available: https://redis.io/

Editorial & Review Transparency

Publication Date

5/11/2026

Peer Review Type

Double-Blind Peer Review

Review Rounds: 2

Documents

Review Report (Confidential)
Copyright Form (Office)

Article Metrics & Impact

Article Views

0

Total views since publication

PDF Downloads

3

Total downloads since publication

Geographic Reach

5

Indexing, Archiving & Preservation

Google Scholar
Academia
ResearchGate
Crossref
SSRN
Semantic Scholar
Thomson Reuters
WorldCat
Mendeley
OpenAlex
EBSCO
Zenodo

Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.

Ethics, Compliance & Transparency

Plagiarism Screening

This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.

Conflict of Interest

The authors declare no conflict of interest related to this research work.

Funding Information

No funding information available for this research.

Similar & Recommended Articles

Similar Articles by Topic

Related research in the same subject area

Loading similar articles...