|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.matrix.factorization.seeding.RandomSeedingStrategy
public class RandomSeedingStrategy
Random matrix factorization seeding.
| Constructor Summary | |
|---|---|
RandomSeedingStrategy()
Creates RandomSeedingStrategy with seed based on current time. |
|
RandomSeedingStrategy(int seed)
Creates RandomSeedingStrategy with given random seed. |
|
| 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. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RandomSeedingStrategy()
public RandomSeedingStrategy(int seed)
seed - | Method Detail |
|---|
public void seed(org.apache.mahout.math.matrix.DoubleMatrix2D A,
org.apache.mahout.math.matrix.DoubleMatrix2D U,
org.apache.mahout.math.matrix.DoubleMatrix2D V)
ISeedingStrategy
seed in interface ISeedingStrategyA - matrix to be factorizedU - left factorized matrix to be seededV - right factorized matrix to be seededpublic String toString()
toString in class Object
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||