FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
I Dockerized a Bank-Grade Credit Card Fraud Detection App with XGBoost (Recall 0.92 + SHAP)
How-ToTools

I Dockerized a Bank-Grade Credit Card Fraud Detection App with XGBoost (Recall 0.92 + SHAP)

via Dev.toRetro11h ago

I Dockerized a Bank-Grade Credit Card Fraud Detection App with XGBoost 1. Project Background & Challenge Credit card fraud detection is a classic extreme imbalanced data problem (fraud rate only 0.172%). Normal accuracy looks amazing (~99.8%), but in real business the cost of false negatives is huge. So I built the model with a Recall-first approach. 2. Key Results Recall: 0.92 PR-AUC: 0.85 SHAP analysis clearly identified V14 and V17 as the top fraud drivers 3. Tech Stack & Production Features Model: XGBoost + scale_pos_weight for imbalance Production: Docker + docker-compose Testing: Full unit tests Model persistence: joblib with DataFrame input Dependencies: All strictly pinned 4. How to Run (Docker) docker compose up 5. GitHub Repository https://github.com/Retro099/ML-Projects/tree/main/Credit_Card_Fraud_Detection 6. What I Learned Always use Recall + PR-AUC as main metrics for imbalanced data In production, always use DataFrame for predictions Dockerization dramatically increases

Continue reading on Dev.to

Opens in a new tab

Read Full Article
0 views

Related Articles

How-To

The Hidden Magic (and Monsters) of Go Strings: Zero-Copy Slicing & Builder Secrets

Medium Programming • 46m ago

Why Watching Tutorials Won’t Make You a Good Programmer
How-To

Why Watching Tutorials Won’t Make You a Good Programmer

Medium Programming • 3h ago

The Code That Makes Rockets Fly
How-To

The Code That Makes Rockets Fly

Medium Programming • 4h ago

Spotify tests letting users directly customize their Taste Profile
How-To

Spotify tests letting users directly customize their Taste Profile

The Verge • 5h ago

How to Add Face Search to Your App
How-To

How to Add Face Search to Your App

Dev.to Tutorial • 5h ago

Discover More Articles