Replies: 2 comments 5 replies
-
This is one of the ideas behind Turings |
Beta Was this translation helpful? Give feedback.
-
Are these really examples of "Power Measures"? That is, a Product Measure where each component measure is identical to the others? Or is |
Beta Was this translation helpful? Give feedback.
-
In Soss, I use the
iid
andFor
combinators for array distributions with conditionally independent components. I'd like to clean things up a bit, so I've been thinking about how this might look.In
MeasureTheory.jl
, we currently have aProductMeasure
struct with one field that's usually a tuple of measures representing the components. And today it hit me, this really could cover all of these cases.In terms of the data representation,
For
is really just aMappedArray
, andiid
is just aFillArray
. So I think it's natural to allowProductMeasure
to wrap anAbstractArray
. We'll need some constructors for convenience in these cases, and maybe some type synonyms.Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions