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
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.
-
Method Details
-
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
-