Package org.carrot2.math.matrix
Interface IterativeMatrixFactorization
-
- All Superinterfaces:
MatrixFactorization
- All Known Implementing Classes:
KMeansMatrixFactorization
,LocalNonnegativeMatrixFactorization
,NonnegativeMatrixFactorizationED
,NonnegativeMatrixFactorizationKL
public interface IterativeMatrixFactorization extends MatrixFactorization
Performs an iterative matrix factorization.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.math.matrix.MatrixFactorization
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
-
-