Building Production Fraud Detection Models, Part 2: Handling Imbalanced Data & Modeling
Background In the last article, I explained how to define a measurable goal and prepare the data. Building a fraud detection model brings its own challenges. Fraudulent transactions make up a tiny minority. Although fraud rates vary across payment services, they are often well below 1%. For example, EBA’s 2025 Report on Payment Fraud, pp. 12 and 15 reports that, in 2024, approximately 0.015% of card transactions and 0.011% of e-money transactions were fraudulent. Class imbalance is the first challenge. Transaction volume adds another: payment services commonly handle over one billion transactions per year. ...