public class RandomSeedingStrategy extends Object implements ISeedingStrategy
| Constructor and Description |
|---|
RandomSeedingStrategy()
Creates RandomSeedingStrategy with seed based on current time.
|
RandomSeedingStrategy(int seed)
Creates RandomSeedingStrategy with given random seed.
|
public RandomSeedingStrategy()
public RandomSeedingStrategy(int seed)
seed - public void seed(org.apache.mahout.math.matrix.DoubleMatrix2D A,
org.apache.mahout.math.matrix.DoubleMatrix2D U,
org.apache.mahout.math.matrix.DoubleMatrix2D V)
ISeedingStrategyseed in interface ISeedingStrategyA - matrix to be factorizedU - left factorized matrix to be seededV - right factorized matrix to be seeded