Description Usage Arguments Details
View source: R/validateLabel.R
Create validation tasks for labels assigned to the topics in the topic model of choice.
1 2 3 4 5 6 7 8 9 10 11 12 |
type |
Task structures to be specified. Must be one of "LI" (Label Intrusion) and "OL" (Optimal Label). |
n |
The number of desired tasks |
text.predict |
A data frame or matrix containing both the text and the indicator(s) of the model predicted topic(s). |
text.name |
variable name in 'text.predict' that indicates the text |
top1.name |
variable name in 'text.predict' that indicates the top1 model predicted topic |
top2.name |
variable name in 'text.predict' that indicates the top2 model predicted topic |
top3.name |
variable name in 'text.predict' that indicates the top3 model predicted topic |
labels |
The user-defined labels assigned to the topics |
labels.index |
The topic index in correspondence with the labels, e.g., c(10, 12, 15). Must be in the same length and order with 'label'. |
labels.add |
Labels from other broad catagories. Default to NULL. Users could specify them to evaluate how well different broad categories are distinguished from one another. |
Users need to pick a topic model that they deem to be good and label the topics they later would like to use as measures.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.