Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HappyDay1998 opened this issue Jun 8, 2024 · 1 comment

Comments

@HappyDay1998
Copy link

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?

@mirkobunse
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants