Package org.carrot2.math.matrix
Interface SeedingStrategy
- All Known Implementing Classes:
KMeansSeedingStrategy,RandomSeedingStrategy
public interface SeedingStrategy
Defines the seeding routine to be used as part of a matrix factorization algorithm.
-
Method Summary
Modifier and Type Method Description voidseed(org.carrot2.math.mahout.matrix.DoubleMatrix2D A, org.carrot2.math.mahout.matrix.DoubleMatrix2D U, org.carrot2.math.mahout.matrix.DoubleMatrix2D V)Initializes values of the provided U and V matrices.
-
Method Details
-
seed
void seed(org.carrot2.math.mahout.matrix.DoubleMatrix2D A, org.carrot2.math.mahout.matrix.DoubleMatrix2D U, org.carrot2.math.mahout.matrix.DoubleMatrix2D V)Initializes values of the provided U and V matrices. The A matrix is the input matrix to be factorized.- Parameters:
A- matrix to be factorizedU- left factorized matrix to be seededV- right factorized matrix to be seeded
-