-
Notifications
You must be signed in to change notification settings - Fork 3
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
Build is unstable #23
Comments
I think the instability is just a continuation of the negative probabilities problem. Managed to trace it back to the iterator for documents, d. If I initialize d = 0 in the main loop over documents, somehow Cd, Cv, Ck, Zd, and docs get out of sync. When d isn't initialized at 0, I'm not sure why there isn't a segfault. But there isn't, however the model calculates total junk. That junk then creates situations that cause CMD check to fail when checking examples or running unit tests. Bottom line, I think I need to refactor the code entirely. |
dba358d has fixed the core issue. But we aren't out of the woods yet: Note this AppVeyor build Issue was pass by reference vs. pass by value. I was passing by value when I thought I was passing by reference. Keeping the issue open to do more checks and optimizations/cleanup of code. |
As of b4a0fd8 I'm willing to say the build is stable. However the Gibbs sampler is about 3X slower than the one I have in {textmineR}. Opening another issue to address that. :-| |
R CMD check fails randomly across platforms. Usually the failure is due to negative probabilities in the gibbs sampler. Current build passes tests when testing but not running full CMD check. But then the issue crops up in CMD check when running examples or tests. Same code, same data.
Need a build that
The text was updated successfully, but these errors were encountered: