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

KS Test Error #2

Open
HNLala opened this issue Jun 17, 2021 · 0 comments
Open

KS Test Error #2

HNLala opened this issue Jun 17, 2021 · 0 comments

Comments

@HNLala
Copy link

HNLala commented Jun 17, 2021

The function two_sample_test can't seem to execute the KS test. The problem it runs into, apparently, is that the function compute_null_distribution does not return a numpy array when executed for a KS test. It works as expected when I added the following block:

if not isinstance(test_null, np.ndarray):
    test_null = np.array(test_null)
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

1 participant