cuqi.problem.BayesianProblem.MAP#

BayesianProblem.MAP(disp=True, x0=None)#

Compute the Maximum A Posteriori (MAP) estimate of the posterior.

Parameters:
  • disp (bool) – display info messages? (True or False).

  • x0 (CUQIarray or ndarray) – User-specified initial guess for the solver. Defaults to a ones vector.

Returns:

MAP estimate of the posterior. Solver info is stored in the returned CUQIarray info attribute.

Return type:

CUQIarray