linearization

The linearisation of a fit at its MAP, and the linearised posterior covariance.

A linearisation is a Gauss–Newton approximation of a fit: the observation Jacobian \(J_h = \partial h / \partial \theta = -\partial r / \partial \theta\) in event space with respect to the model parameters \(\theta\), and the model-parameter Fisher matrix \(F_h = \sum_b J_{h,b}^\top \Sigma_{d,b}^{-1} J_{h,b}\), where the data covariance is \(\Sigma_d = K + \Sigma_n\) per event block. It also carries the Fisher matrix \(F_\psi\) of the hyperparameters \(\psi\), the evaluator’s free parameters, on which \(\Sigma_d\) depends. Build one with pmrf.objectives.evaluators.MarginalLogLikelihood.linearize(), and combine one or more with the prior in posterior_covariance(); the hyperparameters’ covariance is hyperparameter_posterior_covariance().

Classes

Linearization(J_h, residual, chol, F_h, ...)

The linearisation of one fit at a model.

Functions

hyperparameter_posterior_covariance(...[, ...])

The linearised posterior covariance of an evaluator's hyperparameters.

posterior_covariance(linearizations, model)

The linearised posterior covariance of a model's free parameters.

posterior_covariance_factor(linearizations, ...)

A square root of the linearised posterior covariance of free parameters.