Loading article...
Loading article...
Stream/Area:
-
Subject:
-
Paper ID:
IJSREM63060
Volume:
10 |
5 |
May 2026
Pages:
1-6
Publication Frequency:
Monthly (12 issues per year)
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.
Master of Computer Applications
Parvatibai Genba Moze College of Engineering
Master of Computer Applications
Parvatibai Genba Moze College of Engineering
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
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.
[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/
Publication Date
5/11/2026
Peer Review Type
Double-Blind Peer Review
Review Rounds: 2
Documents
Article Views
0
Total views since publication
PDF Downloads
3
Total downloads since publication
Geographic Reach
5
Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.
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.
Related research in the same subject area
Loading similar articles...