RUNLOCALAIv38
->Will it run?Best GPUCompareTroubleshootStartLearnPulseModelsHardwareToolsBench
Run check
RUNLOCALAI

Independently operated catalog for local-AI hardware and software. Hand-written verdicts. Source-cited claims. Reproducible commands when we have them.

OP·Fredoline Eruo
DIR
  • Models
  • Hardware
  • Tools
  • Benchmarks
TOOLS
  • Will it run?
  • Compare hardware
  • Cost vs cloud
  • Choose my GPU
  • Prompting kits
  • Quick answers
REF
  • All buyer guides
  • Learn local AI
  • Methodology
  • Glossary
  • Errors KB
  • Trust
EDITOR
  • About
  • Author
  • How we make money
  • Editorial policy
  • Contact
LEGAL
  • Privacy
  • Terms
  • Sitemap
MAIL · MONTHLY DIGEST
Get monthly local AI changes
Monthly recap. No spam.
DISCLOSURE

Some links on this site are affiliate links (Amazon Associates and other first-class retailers). When you buy through them, we earn a small commission at no extra cost to you. Affiliate links do not influence our verdicts — there are cards we rate highly that we don't have affiliate relationships with, and cards that sell well that we refuse to recommend. Read more →

© 2026 runlocalai.coIndependently operated
RUNLOCALAI · v38
Glossary / MLOps & deployment / A/B Testing
MLOps & deployment

A/B Testing

A/B Testing in ML compares two model variants — a control (current production model) and a treatment (candidate model) — by randomly splitting traffic and measuring a predefined metric (conversion rate, click-through, revenue per user) over a statistically significant period. The required sample size n per variant for detecting a minimum detectable effect δ with 80% power at α = 0.05 is n ≈ 16σ²/δ², meaning a 1% click-through improvement (from 5% baseline, σ ≈ 0.22) requires ~77K observations per variant. Online A/B tests complement offline evaluation: a model with +0.5% AUC on holdout data may produce -2% revenue when deployed due to distribution shift or interaction effects

Practical example

A/B testing compares two model versions by splitting traffic — 50% to model A, 50% to model B — and measuring which performs better on business metrics (revenue, engagement, user satisfaction). It's the gold standard for model deployment decisions. Never deploy based on offline metrics alone.

Workflow example

A/B testing deployment: (1) deploy model A (current) and model B (candidate) simultaneously, (2) randomly assign each user/request to A or B, (3) track business metrics (not just ML metrics), (4) run test until statistical significance (p < 0.05, but beware p-hacking), (5) minimum sample size: compute before starting — don't peek and stop early, (6) for LLMs: A/B test different prompts, models, temperatures, or generation configs — small changes can have large business impacts.

Reviewed by Fredoline Eruo. See our editorial policy.

Buyer guides
  • Best GPU for local AI →
  • Best laptop for local AI →
  • Best Mac for local AI →
When it doesn't work
  • CUDA out of memory →
  • Ollama running slowly →
  • ROCm not detected →