Skip to content

Using complex combinatorial structures #6543

Answered by ricardoV94
pawel-czyz asked this question in Q&A
Discussion options

You must be logged in to vote

Sampler

The sampling component may be conceptually related to RJMCMC, for which there was a PR started quite some time ago (the author is still interested but has been doing background work in the meantime): pymc-devs/pymc-experimental#20

There's also more foundational work being done right now that allows traces with dynamic sized variables, which our default trace doesn't allow:
#6517
#6510

You can also try to go the SMC route, but may need to tweak it to allow variable sizes, and likely implement a new kernel

Graph

If you can represent your RVs /logp with Pytensor variables, using advanced indexing or branching (via IfElse) and looping (via scan) routines, there shouldn't be any limita…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pawel-czyz
Comment options

Answer selected by pawel-czyz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants