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
Thanks @oschulz . We've talked a little bit about ideas in this direction, and I appreciate your creating these issues to make things easier to track.
Similar to likelihoods, I think pushforwards need to be set up in a way that allows simplification in cases with closed form solutions. The problem with sampling is that it "forgets" about any structure of a given measure and takes a very specific concrete approach.
I like the idea of being able to map a measure to an infinite stream of samples (maybe similar to Chain), but I think it's important to have a method to take us from the world of "measure expressions" to the world of infinite streams.
By defining
we could make measures monadic in respect to Julia's iteration interface:
This would play well semantically with a syntax
f.(μ)
for pushforward measures (#54).x^2 for x in Normal
would become semantically equivalent tox ~ Normal(); return x^2
in a model.The text was updated successfully, but these errors were encountered: