wilcoxon_test

wilcoxon_test(results, labels, lower_better=False)[source]

Perform Wilcoxon test.

Parameters:
resultsnp.array

Results of estimators on datasets

lower_betterbool, default = False

Indicates whether smaller is better for the results in scores. For example, if errors are passed instead of accuracies, set lower_better to True.

Returns:
np.array

p-values of Wilcoxon sign rank test.