Identifies the correct clusters labels, in any dimension, when cluster parameters and global parameters are matched.

true_cluster_labels(array, dpObj)

Arguments

array

The array containing matching indexes.

dpObj

A hierarchical dirichletprocess object.

Value

The array containing the correct matching indexes