TransportMaps.Densities.Inference.InferenceBase

Module Contents

Classes

BayesPosteriorDensity

Given a log-likelihood and a prior, assemble the posterior density

class TransportMaps.Densities.Inference.InferenceBase.BayesPosteriorDensity(*args, **kwargs)[source]

Bases: TransportMaps.Distributions.Inference.BayesPosteriorDistribution

Given a log-likelihood and a prior, assemble the posterior density

Given the log-likelihood \(\log\pi({\bf y}\vert{\bf x})\) and the prior density \(\pi({\bf x})\), assemble the Bayes’ posterior density

\[\pi({\bf x}\vert {\bf y}) \propto \pi({\bf y}\vert{\bf x}) \pi({\bf x})\]
Parameters:
  • logL (LogLikelihood) – log-likelihood \(\log\pi({\bf y}\vert{\bf x})\)

  • prior (Distribution) – prior density \(\pi({\bf x})\)