public class KMeansSeedingStrategy extends Object implements ISeedingStrategy
| Constructor and Description |
|---|
KMeansSeedingStrategy()
Creates the KMeansSeedingStrategy.
|
KMeansSeedingStrategy(int maxIterations)
Creates the KMeansSeedingStrategy.
|
public KMeansSeedingStrategy()
public KMeansSeedingStrategy(int maxIterations)
maxIterations - maximum number of KMeans iterations.public void seed(org.apache.mahout.math.matrix.DoubleMatrix2D A,
org.apache.mahout.math.matrix.DoubleMatrix2D U,
org.apache.mahout.math.matrix.DoubleMatrix2D V)
ISeedingStrategyseed in interface ISeedingStrategyA - matrix to be factorizedU - left factorized matrix to be seededV - right factorized matrix to be seeded