Open cscherrer opened 2 years ago
I have to think about this, transport is deterministic, but as some point you need to inject addictive Gaussian noise to have
... = N(mu(...), \Sigma(...)
In the original x ~ foo
, we can transport foo
to StdNormal() ^ n
. So the transport itself is deterministic, but the noise is in what it's transporting.
Hmm, I had thought this would be specifically conditional Gaussians. But each is a power of StdNormal()
, so I guess this is again transporting the whole prior.
@mschauer mentioned in Slack that Mitosis.jl likes to work with nonlinear models that have Gaussian conditionals. With the upcoming transport API in MeasureBase.jl, we should be able to automate this in Tilde.
If a model has a line like
it can be replaced with e.g.
Automating this will make it easier to use Mitosis for inference on Tilde models.