Might be a newbie question, but I am struggling in understanding how it is possible to apply transformations to a sample before scoring it against the observed data point.
In general we have this:
pyro.sample("sample", dist.Normal(loc, scale), obs=data['y'])
where we are scoring the sample from the normal distribution to the data point in
What I need to do is to score not
transformation_function(sample) to the data.
Is it possible?