You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
thank you for creating this awesome package.
I am currently trying to set up a model which among other things samples tree structures. Unfortunately, adding tree structures to Mamba seems to be impossible. Of course, I can represent the tree structure in terms of an adjacency matrix, but the matrix grows to a point where it seems to be infeasible to store it as an ArrayStochasctic if it needs to be monitored, not mentioning the different kind of summarization which is necessary for tree structures. So my question is: Is there a way to add an interface for a custom data type to Mamba? So far all my attempts were abruptly stopped by ArgumentError("nodes are not all Dependent types") (model.jl line 10).
The text was updated successfully, but these errors were encountered:
For these kinds of situations I always find it easier to use what Brian calls the "stand alone functions" for the samplers. This is more of a manual way of running MCMC in mamba which allows you to circumvent some of the convenience functions. Each sampler in the doc has an example of using it in this "stand alone" way. See for example the NUTS sampler code:
Hi all,
thank you for creating this awesome package.
I am currently trying to set up a model which among other things samples tree structures. Unfortunately, adding tree structures to Mamba seems to be impossible. Of course, I can represent the tree structure in terms of an adjacency matrix, but the matrix grows to a point where it seems to be infeasible to store it as an
ArrayStochasctic
if it needs to be monitored, not mentioning the different kind of summarization which is necessary for tree structures. So my question is: Is there a way to add an interface for a custom data type to Mamba? So far all my attempts were abruptly stopped byArgumentError("nodes are not all Dependent types")
(model.jl line 10).The text was updated successfully, but these errors were encountered: