org.carrot2.matrix.factorization.seeding
Interface ISeedingStrategy

All Known Implementing Classes:
KMeansSeedingStrategy, RandomSeedingStrategy

public interface ISeedingStrategy

Defines the seeding routine to be used as part of a matrix factorization algorithm.


Method Summary
 void seed(org.apache.mahout.math.matrix.DoubleMatrix2D A, org.apache.mahout.math.matrix.DoubleMatrix2D U, org.apache.mahout.math.matrix.DoubleMatrix2D V)
          Initializes values of the provided U and V matrices.
 

Method Detail

seed

void seed(org.apache.mahout.math.matrix.DoubleMatrix2D A,
          org.apache.mahout.math.matrix.DoubleMatrix2D U,
          org.apache.mahout.math.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


Copyright (c) Dawid Weiss, Stanislaw Osinski