Skip to content

Commit

Permalink
wilcox (#2361)
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyBagnall authored Nov 16, 2024
1 parent 295f311 commit 0c528af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aeon/visualisation/results/_mcm.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,10 @@ def _plot_1v1(
if pvalue_test == "wilcoxon":
_pvalue_test_params = {}
if pvalue_test_params is None:
_pvalue_test_params = {"zero_method": "pratt", "alternative": "greater"}
_pvalue_test_params = {
"zero_method": "wilcox",
"alternative": "greater",
}
else:
_pvalue_test_params = pvalue_test_params
p_value = round(wilcoxon(x=x, y=y, **_pvalue_test_params)[1], precision)
Expand Down

0 comments on commit 0c528af

Please sign in to comment.