Unverified50% confidenceDecision RuleExact time
When comparing differences in predictive behavior between two specific trained models, a fixed seed should be used to run the McNemar test on the same test set; when evaluating the overall superiority of a method, multi-seed repeated experiments combined with paired t-tests or non-parametric tests should be used.
1
Sources
50%
Confidence
Long-term
Relevance
7/13/2026
First Seen
Sources
McNemar检验对比机器学习模型:随机种子下的正确用法
redditr/learnmachinelearning7/11/2026
Related Claims
UnverifiedWhen the test subject in multi-seed experiments changes from single-sample prediction discrepancies to accuracy sequences across multiple runs, McNemar's test is generally no longer applicable.77% similarUnverifiedThe McNemar test requires that both models be evaluated on exactly the same test set; any inconsistency in the test set will invalidate the test.76% similarUnverifiedRegression testing for agents requires running both the new and old versions multiple times on the same test set and comparing the distribution of behaviors rather than comparing single-run results.75% similarUnverifiedThe combined strategy recommended by the author is to train both the baseline and the proposed method with at least 5 random seeds each, report mean and standard deviation of accuracy together with paired tests, and additionally run a McNemar test on representative seeds to show sample-level prediction disagreements.74% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/502765API
curl https://kongchang.com/api/v1/knowledge/claims/502765MCP
get_claim(id=502765)