-
-
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 helper function for easier Random Walks specification #4047
Comments
Hi @AlexAndorra , is this issue still open? If it is so, |
Hi @chandan5362, yes this is still up for grabs, and thanks for your interest! However, let me first check with @brandonwillard and @michaelosthege that it's still worth the investment: the coming v4 will use the new |
I would definitely recommend that efforts be directed toward Aesara and the PyMC3 |
I am looking forward for your response @AlexAndorra . |
I'd defer to Brandon's opinion then, what he's saying makes sense -- @twiecki may have insights on this too. |
well, thanks @AlexAndorra |
Have these changes propagated into the various example notebooks that use random walks? If not, we probably need to open an issue in pymc-examples. |
Hmm good point. There is however this issue: #6098 Meaning we don't yet want to recommend using the class for unobserved RWs because it's going to sample worse than doing |
This issue is up for grabs 🥳
Currently, users can use
theano.tensor.cumsum()
to create any random walk they need. We do havepm.GaussianRandomWalk
though, which is a user-friendly wrapper but mostly allows one to specify a different init distribution, which is possible but awkward with the.cumsum()
approach (it requirestt.stack()
).A nice addition to the library would be to turn this into a small helper function, like
pm.RandomWalk('x', pm.StudentT.dist(), init=pm.Flat.dist())
. This would give more adaptability to the way users can specify random walks 🎰🚶♂️Feel free to signal your interest here or ask any questions if you want to work on a PR for this 🖖
The text was updated successfully, but these errors were encountered: