-
-
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
Add test for 2D GaussianRamdomWalk logp #5686
Comments
Hi @ricardoV94, I'm working on this task. Thanks. |
Hi @ricardoV94, what the I run the code here and it work, though not sure if the output shape is correct.
However, when sampling with
Outputs:
I do other tests on the following model:
Or this model:
The
|
Sorry for the delay. This new specification is incorrect, because the last entry of shape has to be the same as
It should be grw1 = pm.GaussianRandomWalk('grw1', mu=np.arange(4), shape=(3,4,), steps=3) |
Hi thanks, I am going to do this soon, just need to spend sometimes to learn the Gaussian Random Walk model :) |
Hi @ricardoV94,
It seems due to
Output:
By the way, just want to be clear what do you mean by 2D GaussianRamdomWalk? My understanding is that 2D mean that the observed data has 2 dimensions (D=2). For example, this will work:
Output:
Let's me know if this is acceptable to test 2D GaussianRamdomWalk. Thanks! |
Also, I seem to have confusion on the
Here, the |
Hi, my confusion on I am kind of understand more on different kinds of shape (
I am trying to get my head around how the |
|
Closing this. After #6072 GRW now relies on Aeppl which is responsible for testing the right logp is generated. |
Now that the GRW supports batched dimensions (#5298) we should add a test for its logp as well
The text was updated successfully, but these errors were encountered: