org.carrot2.text.vsm
Class TermDocumentMatrixReducer

java.lang.Object
  extended by org.carrot2.text.vsm.TermDocumentMatrixReducer

public class TermDocumentMatrixReducer
extends Object

Reduces the dimensionality of a term-document matrix using a matrix factorization algorithm.


Field Summary
 IMatrixFactorizationFactory factorizationFactory
          Factorization method.
 IterationNumberGuesser.FactorizationQuality factorizationQuality
          Factorization quality.
 
Constructor Summary
TermDocumentMatrixReducer()
           
 
Method Summary
 void reduce(ReducedVectorSpaceModelContext context, int dimensions)
          Performs the reduction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factorizationFactory

public IMatrixFactorizationFactory factorizationFactory
Factorization method. The method to be used to factorize the term-document matrix and create base vectors that will give rise to cluster labels.

Attribute label:
Factorization method
Attribute level:
Advanced
Attribute group:
Matrix model

factorizationQuality

public IterationNumberGuesser.FactorizationQuality factorizationQuality
Factorization quality. The number of iterations of matrix factorization to perform. The higher the required quality, the more time-consuming clustering.

Attribute label:
Factorization quality
Attribute level:
Advanced
Attribute group:
Matrix model
Constructor Detail

TermDocumentMatrixReducer

public TermDocumentMatrixReducer()
Method Detail

reduce

public void reduce(ReducedVectorSpaceModelContext context,
                   int dimensions)
Performs the reduction.



Copyright (c) Dawid Weiss, Stanislaw Osinski