-
Notifications
You must be signed in to change notification settings - Fork 40
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
Error with posthoc_conover_friedman #76
Comments
@mlpotter Thank you for reporting! Can I have a look at a reproducible example (code + dataset)? If not, could you help me debug it by extracting a function implementing this test and printing out strange results on each step? |
I am attaching a csv file with the dataframe, and minimal code to load in the dataframe and pass it to the posthoc_conover_friedman test. Please let me know if this works.
|
@mlpotter Thank you! Attempted to fix it in the recent commit. Do you mind me adding this data to the package tests? |
The new version is released. Could you please try it? |
You may add the data to the package tests!
I will try it this upcoming Monday! Thank you! |
Describe the bug
Similar to closed issue #19 , I am getting NaN's in the posthoc_conover_friedman test on all off-diagonal elements of the returned DataFrame.
sp.posthoc_conover_friedman(mse_df,p_adjust ="fdr_bh")
None of my values in the passed in the
mse_df
dataframe are NaN, nor negative.The columns of the
mse_df
are the machine learning models, the rows are the different datasets, and the values are a distance metric.Expected behavior
A clear and concise description of what you expected to happen.
System and package information (please complete the following information):
I am using scikit-posthoc version 0.10.0
The text was updated successfully, but these errors were encountered: