org.carrot2.matrix.factorization
Class KMeansMatrixFactorizationFactory

java.lang.Object
  extended by org.carrot2.matrix.factorization.IterativeMatrixFactorizationFactory
      extended by org.carrot2.matrix.factorization.KMeansMatrixFactorizationFactory
All Implemented Interfaces:
IMatrixFactorizationFactory

public class KMeansMatrixFactorizationFactory
extends IterativeMatrixFactorizationFactory

KMeansMatrixFactorization factory.


Field Summary
 
Fields inherited from class org.carrot2.matrix.factorization.IterativeMatrixFactorizationFactory
DEFAULT_K, DEFAULT_MAX_ITERATIONS, DEFAULT_ORDERED, DEFAULT_SEEDING_FACTORY, DEFAULT_STOP_THRESHOLD, k, maxIterations, ordered, seedingFactory, stopThreshold
 
Constructor Summary
KMeansMatrixFactorizationFactory()
           
 
Method Summary
 IMatrixFactorization factorize(org.apache.mahout.math.matrix.DoubleMatrix2D A)
          Factorizes matrix A.
 
Methods inherited from class org.carrot2.matrix.factorization.IterativeMatrixFactorizationFactory
createSeedingStrategy, getK, getMaxIterations, getSeedingFactory, getStopThreshold, isOrdered, setK, setMaxIterations, setOrdered, setSeedingFactory, setStopThreshold
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KMeansMatrixFactorizationFactory

public KMeansMatrixFactorizationFactory()
Method Detail

factorize

public IMatrixFactorization factorize(org.apache.mahout.math.matrix.DoubleMatrix2D A)
Description copied from interface: IMatrixFactorizationFactory
Factorizes matrix A.

Parameters:
A - matrix to be factorized.


Copyright (c) Dawid Weiss, Stanislaw Osinski