simpeg.utils.GaussianMixtureWithPrior.order_cluster#

GaussianMixtureWithPrior.order_cluster(outputindex=False)[source]#

Order cluster

Arrange the clusters of gmm in the same order as those of gmmref, based on their relative similarities and priorizing first the most proeminent clusters (highest proportions)

Parameters:
outputindexbool, default: False

If True, return the ordering index for the clusters of GMM.

Returns:
numpy.ndarray of int

Returns the ordering index for the clusters of GMM if outputindex is True