Extended Importance Sample

class alan.ExtendedImportanceSample[source]

Constructed by calling ImportanceSample.extend. Represents N samples from the posterior over all latent variables, that has subsequently been extended.

predictive_ll()[source]
moments()

See Moments

dump()

Returns the Importance samples as dictionary of named tensors, where the name N corresponds to the different samples, and the other names correspond to plates.

Warning

You shouldn’t really need to use this method. e.g. if you’re trying to compute moments you should directly use the dump method.