Skip to content
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

Fix probabilities contain NaN error #326

Merged
merged 1 commit into from
Feb 24, 2021
Merged

Conversation

csala
Copy link
Contributor

@csala csala commented Feb 24, 2021

Fix random bug that happens on the _find_parent_ids method when all the parent rows have 0 child rows and the likelihoods are all either 0 or NaN.
Also change the point in which child tables are sampled to ensure that all the table is sample before descending into child tables instead of descending at each subset of child rows.

@csala csala added the bug Something isn't working label Feb 24, 2021
@csala csala added this to the 0.8.0 milestone Feb 24, 2021
@csala csala self-assigned this Feb 24, 2021
@csala csala merged commit 587e441 into master Feb 24, 2021
@csala csala deleted the probabilities-contain-nan branch February 24, 2021 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant