public class MalletLdaInferenceWrapper
extends cc.mallet.topics.TopicInferencer
| Modifier and Type | Field and Description |
|---|---|
protected double[] |
cachedCoefficients |
private static long |
serialVersionUID |
protected double |
smoothingOnlyMass |
| Constructor and Description |
|---|
MalletLdaInferenceWrapper(int[][] typeTopicCounts,
int[] tokensPerTopic,
cc.mallet.types.Alphabet alphabet,
double[] alpha,
double beta,
double betaSum) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getSampledTopicAssignments(cc.mallet.types.Instance instance,
int numIterations)
This is a copy of
TopicInferencer.getSampledDistribution(Instance, int, int, int) that returns the
sequence of the single topic assignments for the given instance. |
private static final long serialVersionUID
protected double[] cachedCoefficients
protected double smoothingOnlyMass
Copyright © 2015–2020. All rights reserved.