← Back to VOLUME 13, ISSUE 11, NOVEMBER 2026
This work is licensed under a Creative Commons Attribution 4.0 International License.
DetectPay: Payment Fraud Detection Using a Weighted Tree Ensemble and Isolation Forest Risk Scoring
Mohammed Junaith S.P, Monishkumar M.K, Dhruv S Jain, Faheem M, S Poornima
Downloads: Download PDF
👁 6 views📥 1 download
Abstract: Payment fraud is rare, changes over time and is hidden among large volumes of legitimate transactions, so fixed rules and single classifiers trained on imbalanced data either miss fraud or raise too many false alarms. This paper presents DetectPay, an end-to-end payment-fraud detection system that combines a weighted ensemble of three supervised tree-based learners (a class-weighted Random Forest, XGBoost and LightGBM) with an unsupervised Isolation Forest. A risk engine merges the ensemble fraud probability and the anomaly score into a bounded risk score, assigns a Low, Medium, High or Critical category and is exposed through a FastAPI service and a Streamlit workspace that also accepts screenshots and PDF statements through optical character recognition (OCR) with an editable review step. On a dataset of 15,000 transactions with 3.00% fraud, evaluated on a stratified hold-out set of 3,000 transactions, the ensemble at a decision threshold of 0.40 reached a precision of 0.43, a recall of 0.46, an F1-score of 0.44, an area under the precision–recall curve (AUC-PR) of 0.42 and a ROC-AUC of 0.89, a higher F1-score than any individual model (0.29–0.37). Stratified five-fold cross-validation gave a mean F1-score of 0.40 ± 0.06. The results show that ensembling and threshold selection improve the balance between missed fraud and false alarms, and they quantify how far a small, imbalanced dataset limits recall.
Keywords: Fraud detection, ensemble learning, XGBoost, LightGBM, random forest, isolation forest, imbalanced classification, risk scoring
Keywords: Fraud detection, ensemble learning, XGBoost, LightGBM, random forest, isolation forest, imbalanced classification, risk scoring
How to Cite:
[1] Mohammed Junaith S.P, Monishkumar M.K, Dhruv S Jain, Faheem M, S Poornima, “DetectPay: Payment Fraud Detection Using a Weighted Tree Ensemble and Isolation Forest Risk Scoring,” International Advanced Research Journal in Science, Engineering and Technology (IARJSET)
