public class KMeansMatrixFactorizationFactory extends IterativeMatrixFactorizationFactory
KMeansMatrixFactorization factory.DEFAULT_K, DEFAULT_MAX_ITERATIONS, DEFAULT_ORDERED, DEFAULT_SEEDING_FACTORY, DEFAULT_STOP_THRESHOLD, k, maxIterations, ordered, seedingFactory, stopThreshold| Constructor and Description |
|---|
KMeansMatrixFactorizationFactory() |
| Modifier and Type | Method and Description |
|---|---|
IMatrixFactorization |
factorize(org.apache.mahout.math.matrix.DoubleMatrix2D A)
Factorizes matrix
A. |
createSeedingStrategy, getK, getMaxIterations, getSeedingFactory, getStopThreshold, isOrdered, setK, setMaxIterations, setOrdered, setSeedingFactory, setStopThresholdpublic IMatrixFactorization factorize(org.apache.mahout.math.matrix.DoubleMatrix2D A)
IMatrixFactorizationFactoryA.A - matrix to be factorized.