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.- dump()
Returns the Importance samples as dictionary of named tensors, where the name
Ncorresponds 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.