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

Indices - implement exact NRI expectations #789

Closed
shawnlaffan opened this issue Apr 30, 2021 · 1 comment
Closed

Indices - implement exact NRI expectations #789

shawnlaffan opened this issue Apr 30, 2021 · 1 comment
Assignees
Milestone

Comments

@shawnlaffan
Copy link
Owner

Described in Tsirogiannis et al. (2012). https://doi.org/10.1007/978-3-642-33122-0_3

Follow-on from #786

@shawnlaffan shawnlaffan self-assigned this Apr 30, 2021
@shawnlaffan shawnlaffan added this to the Release_4.0 milestone Apr 30, 2021
shawnlaffan added a commit that referenced this issue Apr 30, 2021
shawnlaffan added a commit that referenced this issue May 5, 2021
shawnlaffan added a commit that referenced this issue May 5, 2021
This is done of the tree object, so move
the expected mean caluclation to there as well.

Commented debug code will be removed in a future commit.

Updates #789
shawnlaffan added a commit that referenced this issue May 5, 2021
shawnlaffan added a commit that referenced this issue May 5, 2021
Update tests accordingly

Updates #789
shawnlaffan added a commit that referenced this issue May 5, 2021
Rearrange the cache structure while we are at it.

Also skip root nodes with single children.

Updates #789
shawnlaffan added a commit that referenced this issue May 5, 2021
Where LCA is the last common ancestor of all terminals.

Sometimes there are single child nodes immediately below the root.

Updates #789
@shawnlaffan
Copy link
Owner Author

shawnlaffan commented May 5, 2021

All changes now on master branch. Mark as fixed.

shawnlaffan added a commit that referenced this issue May 12, 2021
Also return 0 for the SD when the requested
sample count equals the number of terminals.

Updates #790, and a late update to #789
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant