-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Common tests: Check that random_state is not altered #1108
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
+1 but this will have a very wide impact. |
Yeah, this is gonna be real fun ^^ |
We should probably change the current fit idiom:
to:
and use that one instead in fit. That would also require pass |
Why do you want to make I'm -1 on fixing seeds by default. |
+1 |
GMMs and HMMs can use it to sample observations from the model. People |
Indeed, this is not a requirement.
I don't think so. The sampling method should have it's own |
I agree with @ogrisel on the hmm issue. |
If you want idem potent fit calls you need to remember the original seed somewhere. But this is actually not the random_state itself that should be stored, but an integer seed. I think we should write a use case for the API caller point of view before moving on with this discussion. |
agreed :) |
To avoid confusion, we may rename |
+1 for not overwriting PR #1200 had this problem too. |
Not sure this is what we want, but I think it is:
fit
should not change therandom_state
so that fitting twice on the same data set should produce the same result.There was a comment by @ogrisel in #455 along these lines, I think.
The text was updated successfully, but these errors were encountered: