pub fn sort_parameters(
    gmm: &Gaussian,
    pmf: &ArrayView1<'_, f64>
) -> (Array2<f64>, Array3<f64>)
Expand description

Function that sorts the parameters (means, covariances) of a Gaussian mixture according to the weights of the components. TODO: This should be part of the Mixable interface but this is difficult right now (type of the pmf is unknown in the interace). see this blog post