critdd icon indicating copy to clipboard operation
critdd copied to clipboard

TypeError: wilcoxon() got an unexpected keyword argument 'method'

Open HappyDay1998 opened this issue 1 year ago • 1 comments

When I tried to run the code, it shows me this error: self.P = stats.pairwise_tests(X) File "/home/qir21001/anaconda/envs/simclr_2/lib/python3.7/site-packages/critdd/stats.py", line 88, in pairwise_tests zero_method = 'pratt' TypeError: wilcoxon() got an unexpected keyword argument 'method'

I have tried to update the version of scipy package and change another new virtual environment but it failed. Does anyone meet this problem too?

HappyDay1998 avatar Jun 08 '24 09:06 HappyDay1998

Hi, I cannot replicate your issue with the information you have provided. Which version of SciPy do you use?

The SciPy documentation lists method as a valid keyword argument.

mirkobunse avatar Jun 10 '24 09:06 mirkobunse