Skip to content
Discussion options

You must be logged in to vote

Hi Carlo,
thanks a lot for your answer. you made me rethink and reflect my question. i guess my initial question was actually quite confusing and not really making sense since i mixed up a message of a variable vs. a variable node. the solution you proposed is pretty much sampling from the distribution and using that as input data - thats a very neat idea, but not directly what i was looking for. my goal was not to use a pointmass but rather the combination of mean with variance to cluster several distributions.
i now understood i could simply pass it as a message by introducing another factor node, where we define the parameters with the "data":

@model function data_as_dist_example(m,v)
…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@skoghoern
Comment options

Answer selected by skoghoern
@skoghoern
Comment options

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