Creates a view of this model as a standard CVB0LDA model for doing inference unconstrained by an observed set of topics on each document.
Assert invariants.
Assert invariants.
How many times each topic is seen overall.
How many times each topic is seen overall.
How many times each term is seen in each topic.
How many times each term is seen in each topic.
Creates a document from the given document parameters.
Creates a document from the given document parameters.
Returns the distribution over terms for the given topic.
Returns the distribution over terms for the given topic. The return value of this method is assumed to have already incorporated the corresponding getTermSmoothing to the appropriate extent.
Returns the distribution over terms for the given topic.
Returns the distribution over terms for the given topic. The return value of this method is assumed to have already incorporated the corresponding getTermSmoothing to the appropriate extent.
Returns an array of per-label probabilities.
Returns an array of per-label probabilities. Loops while the largest difference between iterations in probabilities for any given topic is greater than delta (default 1e-5).
Returns an array of per-label probabilities.
Returns an array of per-label probabilities. Loops while the largest difference between iterations in probabilities for any given topic is greater than delta (default 1e-5).
Does inference on the given document until convergence.
Does inference on the given document until convergence.
Does inference on the given document until convergence.
Does inference on the given document until convergence.
Where log messages go.
Where log messages go. Defaults to System.err.println.
The number of terms in the model.
The number of terms in the model.
The number of topics in the model.
The number of topics in the model.
Returns the probability of the given term in the given topic.
Returns the probability of the given term in the given topic.
Returns the probability of the given term in the given topic.
Returns the probability of the given term in the given topic.
The parameters used to create this model.
The parameters used to create this model.
Registers a function as a checker of invariants.
Registers a function as a checker of invariants.
Resets to the default state.
Resets to the default state.
Gets the current state of this object.
Gets the current state of this object.
Sets the current state of this object.
Sets the current state of this object.
Returns human-readable summary of the current topic model.
Returns human-readable summary of the current topic model.
The term index describing which terms are in the model.
The term index describing which terms are in the model.
Add-k prior counts for each term (eta in the model formulation).
Add-k prior counts for each term (eta in the model formulation).
Tokenizes the given input string using our stored tokenizer and term index, if available.
Tokenizes the given input string using our stored tokenizer and term index, if available. Otherwise, throws an IllegalArgumentException.
The tokenizer used to break input documents into terms.
The tokenizer used to break input documents into terms.
The term index describing which terms are in the model.
The term index describing which terms are in the model.
Gets the name for this topic.
Gets the name for this topic.
Prior counts for each topic (alpha in the model formulation).
Prior counts for each topic (alpha in the model formulation).
CVB0 learning and inference for LabeledLDA.