org.carrot2.matrix.factorization
Interface IIterativeMatrixFactorization

All Superinterfaces:
IMatrixFactorization
All Known Implementing Classes:
KMeansMatrixFactorization, LocalNonnegativeMatrixFactorization, NonnegativeMatrixFactorizationED, NonnegativeMatrixFactorizationKL

public interface IIterativeMatrixFactorization
extends IMatrixFactorization

Performs an iterative matrix factorization.


Method Summary
 double getApproximationError()
          Returns approximation error achieved after the last iteration of the algorithm or -1 if the approximation error is not available.
 int getIterationsCompleted()
          Returns the number of iterations the algorithm has completed.
 
Methods inherited from interface org.carrot2.matrix.factorization.IMatrixFactorization
getU, getV
 

Method Detail

getApproximationError

double getApproximationError()
Returns approximation error achieved after the last iteration of the algorithm or -1 if the approximation error is not available.

Returns:
approximation error or -1

getIterationsCompleted

int getIterationsCompleted()
Returns the number of iterations the algorithm has completed.

Returns:
the number of iterations the algorithm has completed


Copyright (c) Dawid Weiss, Stanislaw Osinski