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.