NlpTools API
Namespace

NlpTools\Clustering\CentroidFactories

Euclidean Computes the euclidean centroid of the provided sparse vectors
Hamming This class computes the centroid of the hamming distance between two stringsthat are the binary representations of two integers (the strings are supposedto only contain the characters 1 and 0).
MeanAngle MeanAngle computes the unit vector with angle the average of all the given vectors.

Interfaces

CentroidFactoryInterface