cc.mallet.topics
Class TopicModelDiagnostics.TopicScores
java.lang.Object
cc.mallet.topics.TopicModelDiagnostics.TopicScores
- Enclosing class:
- TopicModelDiagnostics
public class TopicModelDiagnostics.TopicScores
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public java.lang.String name
scores
public double[] scores
topicWordScores
public double[][] topicWordScores
wordScoresDefined
public boolean wordScoresDefined
- Some diagnostics have meaningful values for each word, others do not
TopicModelDiagnostics.TopicScores
public TopicModelDiagnostics.TopicScores(java.lang.String name,
int numTopics,
int numWords)
setTopicScore
public void setTopicScore(int topic,
double score)
addToTopicScore
public void addToTopicScore(int topic,
double score)
setTopicWordScore
public void setTopicWordScore(int topic,
int wordPosition,
double score)