public class OrssSeed extends Object implements KMeansSeed
Constructor and Description |
---|
OrssSeed() |
Modifier and Type | Method and Description |
---|---|
DoubleVector[] |
chooseSeeds(int numCentroids,
Matrix dataPoints)
Returns an array of length
numCentroids that contains centroids
composed of either vectors from dataPoints or a linear combination
of vectors from dataPoints . |
public DoubleVector[] chooseSeeds(int numCentroids, Matrix dataPoints)
numCentroids
that contains centroids
composed of either vectors from dataPoints
or a linear combination
of vectors from dataPoints
.chooseSeeds
in interface KMeansSeed
Copyright © 2012. All Rights Reserved.