Skip to content

Add helper function for easier Random Walks specification #4047

Closed
@AlexAndorra

Description

@AlexAndorra

This issue is up for grabs 🥳

Currently, users can use theano.tensor.cumsum() to create any random walk they need. We do have pm.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 requires tt.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 🖖

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions