The unknown parameters in each vector βsubk / sub are typically jointly estimated by maximum a posteriori ( MAP ) estimation , which is an extension of maximum likelihood using regularization of the weights to prevent pathological solutions ( usually a squared regularizing function , which is equivalent to placing a zero-mean Gaussian prior distribution on the weights , but other distributions are also possible ) .