Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[MRG] add seeds when n_jobs=1 and use seed as random_state #9288
What does this implement/fix? Explain your changes.
no matter how many n_jobs, the random_state in kmeans_single should be the same.
Any other comments?
I didn't revise test cases for this change yet. I'll update them if you think this change is good.
@adrinjalali I'm not sure why tests failed only on
p.s. I notice that recent PRs in sklearn are failed in these tests steps either.
I'm happy with the fix.
Please also note the change at the top of that file under Changed Models