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 random number generation #11

Open
ibab opened this issue Jan 30, 2015 · 2 comments
Open

Implement random number generation #11

ibab opened this issue Jan 30, 2015 · 2 comments
Milestone

Comments

@ibab
Copy link
Owner

ibab commented Jan 30, 2015

We should be able to easily sample data from the model.

@ibab
Copy link
Owner Author

ibab commented Feb 1, 2015

I've added a very crude implementation of this. The .sample method on every distribution calls numpy to sample from the right distribution.
This could also be implemented with Theano.
It would be nice to have parallel generation of samples.
Also, there might be smarter ways to get the "true" values needed for sampling than just passing them in.

@ibab ibab modified the milestone: v0.1 Feb 2, 2015
@ibab
Copy link
Owner Author

ibab commented Feb 8, 2015

With the increased flexibility of the new API, sampling has become a lot harder.
There's probably no way around implementing MCMC if we want to sample arbitrary models.

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