Home   >   User Resources   >   Online Help   >   apaClustering.Evaluation.Centroids
 

 

Function index Version 3.0.0

apaClustering.Evaluation.Centroids(DataMatrix, ClusteringResult)

Excel=apaClustering.Evaluation.Centroids(DataMatrix, ClusteringResult)

Result

Evaluates the assignments of a clustering algorithm: cluster centroids.

Syntax

DataMatrix: r x c data matrix

ClusteringResult: r x 1 vector of cluster labels. The labels can be any integer values; points labelled -1 (noise, e.g. from apaClustering.DBSCAN) are excluded.

Remarks

Returns a c x K matrix with one column per cluster, containing the mean of each feature. The clusters are arranged in ascending order of their labels.