Skip to content
Back to all articles
engineering
July 7, 20267 min read

Per-merchant machine learning on small data: how 50 refunds a month becomes a working model

Eight chargebacks a year is not enough to train an ML model. Fifty refunds a month is. Here is how reframing the label from chargebacks onto refunds, and choosing per-merchant XGBoost over a global pooled model, makes a working ML system on the volume a normal Shopify merchant has.

R
RefundSentry Engineering

Read the full guide

Shopify fraud protection in 2026

What Shopify Fraud Analysis, Fraud Control, and Shopify Protect actually cover, where the gaps are, and which app category fills each one.

Stop return fraud before it costs you

RefundSentry scores every order and return with 80+ fraud signals — and learns from your outcomes. Try it free for 14 days — no risk, cancel anytime.

Start Free 14-Day TrialThen $49/mo via Shopify billing
R

RefundSentry Engineering

RefundSentry Engineering is a contributor to the RefundSentry blog, sharing insights on return fraud prevention and e-commerce best practices for Shopify merchants.