Skip to content

Support for custom data type #156

Description

@erathorn

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions