public class LDAModelEstimator extends Object
Constructor and Description |
---|
LDAModelEstimator() |
Modifier and Type | Method and Description |
---|---|
static <U,I> cc.mallet.topics.ParallelTopicModel |
estimate(FastPreferenceData<U,I> preferences,
int k,
double alpha,
double beta,
int numIterations,
int burninPeriod)
Estimate a topic model for collaborative filtering data.
|
public static <U,I> cc.mallet.topics.ParallelTopicModel estimate(FastPreferenceData<U,I> preferences, int k, double alpha, double beta, int numIterations, int burninPeriod) throws IOException
U
- user typeI
- item typepreferences
- preference datak
- number of topicsalpha
- alpha in modelbeta
- beta in modelnumIterations
- number of iterationsburninPeriod
- burnin periodIOException
- when internal IO error occursCopyright © 2016. All rights reserved.