-
Notifications
You must be signed in to change notification settings - Fork 2
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
Different results for two consecutive calls to fit!
on the same data
#22
Comments
After reading the code more carefully, it seems that nondeterminism in your code is caused by the following two lines: Line 123 in cfcc98a
Line 155 in cfcc98a
Creating an Presumably what you want is to Line 124 in cfcc98a
|
fit!
on the same data
Thanks for the catch @gdalle! There are two reasons we update |
Yeah you definitely want to store the results one way or another. And the name poisson_epca = PoissonEPCA(indim, outdim) so I don't explicitly see the buffers being created that will later be modified. A little more documentation for new_epca = fit(epca, ...) but again there is nothing wrong with the in-place |
I'll add some more documentation for |
I've updated the documentation to hopefully be more clear on how |
The fix looks good to me |
Hi! Could you please explain the following behavior? Why don't we get the same PCA in both consecutive runs of
fit!
? It seems the initial state ofpoisson_epca
matters?The text was updated successfully, but these errors were encountered: