pub fn posterior(psi: &Psi, w: &Col<f64>) -> Result<Mat<f64>>
Expand description
Calculates the posterior probabilities for each support point given the weights
The shape is the same as Psi, and thus subjects are the rows and support points are the columns.