View source: R/textclassifierwidget.R
TextClassifierWidget | R Documentation |
htmlwidget
Creates a htmlwidget
summary of information for a
text classifier output from flipTextAnalysis.
TextClassifierWidget(
observed.counts,
weighted.sizes,
category.accuracy,
examples,
cv.metrics,
text.raw.by.categorization,
missing,
title,
footer
)
observed.counts |
Numeric vector of counts of the observed existing categories |
weighted.sizes |
Numeric vector of weighted counts of the predicted values |
category.accuracy |
Numeric vector of accuracy over training sample. |
examples |
Examples for each category. |
cv.metrics |
Numeric matrix of the performance metrics on the cross validation data. |
text.raw.by.categorization |
A list containing the raw text for each category. |
missing |
Logical vector indicating which cases are missing. |
title |
The title to show at the top. |
footer |
Footer to show containing sample information. |
An htmlwidget
containing tables showing the output from an
automatic text categorization.
Box
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.