-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Sampling from GaussianRandomWalk #3073
Comments
Sample you mean random generation right? In that case you should pass a |
Yeah, I think we need to add a note about this in the docstring. I spent over an hour tracking this down and assumed I had a botched theano installation... |
@kyleabeauchamp Yes, a note is a good idea. Note that you can sample (if the GaussianRandomWalk is an observed) by adding |
It seems that you cannot sample from a GaussianRandomWalk looking at https://github.com/pymc-devs/pymc3/blob/master/pymc3/distributions/timeseries.py#L134 or any other distribution in timeseries.py. Think this is partly due to the fact that the initial (default) distribution is defined to be
Flat
.Just wondering if it's worth changing into something like
uniform(-2,2)
for the sake of being able to sample. If that is the case, I'm happy to write a PR to sample from (some of) these.The text was updated successfully, but these errors were encountered: