You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the error below when uisng the benchmark. It seems the error is in: compute_dataset_statistics()
Zhou2016-WithinSession: 100%|██████████| 4/4 [00:46<00:00, 11.55s/it]
Traceback (most recent call last):
File C:\Work\PythonCode\envs\eeg3_p310\lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)
File c:\work\pythoncode\ml_examples\eeg\mdm-mf\article_comparison_default_metric_vs_power_metric_moabb.py:65
results = benchmark(
File C:\Work\PythonCode\envs\eeg3_p310\lib\site-packages\moabb\benchmark.py:225 in benchmark
_save_results(eval_results, output, plot)
File C:\Work\PythonCode\envs\eeg3_p310\lib\site-packages\moabb\benchmark.py:302 in _save_results
analyze(prdgm_result, str(prdgm_path), plot=plot)
File C:\Work\PythonCode\envs\eeg3_p310\lib\site-packages\moabb\analysis\__init__.py:61 in analyze
stats = compute_dataset_statistics(results)
File C:\Work\PythonCode\envs\eeg3_p310\lib\site-packages\moabb\analysis\meta_analysis.py:237 in compute_dataset_statistics
p = compute_pvals_wilcoxon(score_data, algs)
File C:\Work\PythonCode\envs\eeg3_p310\lib\site-packages\moabb\analysis\meta_analysis.py:66 in compute_pvals_wilcoxon
p = stats.wilcoxon(df.loc[:, pipe1], df.loc[:, pipe2])[1]
File C:\Work\PythonCode\envs\eeg3_p310\lib\site-packages\scipy\_lib\_util.py:798 in wrapper
return fun(*args, **kwargs)
File C:\Work\PythonCode\envs\eeg3_p310\lib\site-packages\scipy\stats\_axis_nan_policy.py:573 in axis_nan_policy_wrapper
res = hypotest_fun_out(*samples, **kwds)
File C:\Work\PythonCode\envs\eeg3_p310\lib\site-packages\scipy\stats\_morestats.py:4129 in wilcoxon
return _wilcoxon._wilcoxon_nd(x, y, zero_method, correction, alternative,
File C:\Work\PythonCode\envs\eeg3_p310\lib\site-packages\scipy\stats\_wilcoxon.py:199 in _wilcoxon_nd
temp = _wilcoxon_iv(x, y, zero_method, correction, alternative, method, axis)
File C:\Work\PythonCode\envs\eeg3_p310\lib\site-packages\scipy\stats\_wilcoxon.py:125 in _wilcoxon_iv
raise ValueError("zero_method 'wilcox' and 'pratt' do not "
ValueError: zero_method 'wilcox' and 'pratt' do not work if x - y is zero for all elements.
The text was updated successfully, but these errors were encountered:
I am getting the error below when uisng the benchmark. It seems the error is in: compute_dataset_statistics()
The text was updated successfully, but these errors were encountered: