This is a generic function that will generate the MAP estimate of a given "BayesianBrick" object. For the model structure: theta|gamma ~ H(gamma) X|theta ~ F(theta) MAP esitmate of theta is theta_MAP = argmax_theta p(theta|gamma,x).
MAP(obj, ...)A "BayesianBrick" object used to select a method.
further arguments passed to or from other methods.
A list of the MAP estimates
MAP.GaussianNIW for Gaussian-NIW conjugate structure, MAP.GaussianNIG for Gaussian-NIG conjugate structure, MAP.CatDirichlet for Categorical-Dirichlet conjugate structure, MAP.CatDP for Categorical-DP conjugate structure ...