Observations and likelihoods

Observations and likelihoods#

The likelihood entry of a modality gives the distribution of a reading given the state factors it observes. It accepts:

Linear-Gaussian readings#

LinearGaussianObservation

y = H x + c + eps: a linear-Gaussian modality over one Gaussian state factor.

gaussian_emission

A Gaussian emission over categorical parents alone, y = c_j + noise_j with the parents' configuration j selecting the offset and the noise: the matrix-normal inverse-Wishart family with an empty regressor block, its head the offset column only.

Noise that depends on state#

These are parametrisations of an observation’s noise, not factors of the model.

NoiseMap

An observation noise that varies over the observed state: a module that gives R_chol at a mean.

GridNoiseMap

An observation noise that varies over the observed state: R_chol at the nodes of a rectangular grid over some of the state's coordinates, read between nodes by multilinear interpolation (design: planning-with-observations.md D3).

Grid

A rectangular grid over some coordinates of a continuous state factor's state.

cell_mass

The probability vector over the cells of grid that belief puts its mass in.