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

Implement server.mode() for maximum a posterior estimation #3

Open
fritzo opened this issue Jul 10, 2017 · 0 comments
Open

Implement server.mode() for maximum a posterior estimation #3

fritzo opened this issue Jul 10, 2017 · 0 comments

Comments

@fritzo
Copy link
Member

fritzo commented Jul 10, 2017

The TreeCatServer.mode(data) method would be useful for imputing maximum a posteriori values of missing cells, conditioned on partially observed cells. This method should input a table of partially-observed data (as a ragged array), and output a completed array of the same shape and dtype, just like ServerBase.median().

To implement this, we can follow a similar propagation algorithm as in .mean() or .sample() (note that those two methods vectorize in different ways). The .mode() method should be able to compute all MAP estimates for the entire table using only a single propagation pass. It should do this by vectorizing over rows of the table to be imputed, as .mean() does.

@fritzo fritzo changed the title Implement server.estimate() for maximum a posterior inference Implement server.estimate() for maximum a posterior estimation Jul 10, 2017
@fritzo fritzo changed the title Implement server.estimate() for maximum a posterior estimation Implement server.mode() for maximum a posterior estimation Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant