Learn R Programming

RTextTools (version 1.4.3)

analytics-class: an S4 class containing the analytics for a classified set of documents.

Description

An S4 class containing the analytics for a classified set of documents. This includes a label summary, document summary, ensemble summary, and algorithm summary. This class is returned if virgin=FALSE in create_container.

Arguments

Objects from the Class

Objects could in principle be created by calls of the form new("analytics", ...). The preferred form is to have them created via a call to create_analytics.

Slots

label_summary

Object of class "data.frame": stores the analytics for each label, including the percent coded accurately and how much overcoding occurred

document_summary

Object of class "data.frame": stores the analytics for each document, including all available raw data associated with the learning process

algorithm_summary

Object of class "data.frame": stores precision, recall, and F-score statistics for each algorithm, broken down by label

ensemble_summary

Object of class "matrix": stores the accuracy and coverage for an n-algorithm ensemble scoring