eval_compare_paired
Compare two models on the same test set by running an exact McNemar test on paired outcomes and returning a p-value plus a confidence interval for the accuracy gap.
Instructions
Is A's win over B on a shared test set statistically real?
n: total cases; a_only: A right & B wrong; b_only: B right & A wrong;
both: both right. Returns exact McNemar p-value and a CI on the gap.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| both | Yes | ||
| alpha | No | ||
| a_only | Yes | ||
| b_only | Yes |