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
    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.
  • 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 factorized
      U - left factorized matrix to be seeded
      V - right factorized matrix to be seeded