-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Test case failed (Nondeterministic): test_multinomial_logistic_regression_string_inputs() #7966
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
Comments
can you check if the coefficients of |
lol make_classification is run without |
@chenhe95 can you check that fixing the random state in line 406 fixes the issue? |
Sure thing. |
I think setting the random state fixed it. Ran for 1000 iterations with no error. Setting the random state makes sense too. |
yeah all random states should always be set in the test. Do you wanna sent a PR? |
closed by #7968 |
Description
#7962 Reported a failure in AppVeyor, but I ran the test case on my own computer for the latest master (December 2, 2016) of scikit-learn, and the test case also fails.
The test case fails for
sklearn.linear_model.tests.test_logistic.test_multinomial_logistic_regression_string_inputs()
Here is the output
Steps/Code to Reproduce
Download and build December 2, 2016 master version of scikit-learn.
Run the test case, multiple times (like 200?)
The chance of failing is like 1/20
Expected Results
The test case does not fail.
Actual Results
The test case fails. (See output log)
Versions
Darwin-15.6.0-x86_64-i386-64bit
('Python', '2.7.10 (default, Oct 23 2015, 19:19:21) \n[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]')
('NumPy', '1.11.1')
('SciPy', '0.13.0b1')
('Scikit-Learn', '0.19.dev0')
The text was updated successfully, but these errors were encountered: