get_class_matrix | R Documentation |
Gets matrix of document classifications.
get_class_matrix(
docs,
n_class,
hand_labeled_index,
doc_name,
index_name,
NB_init
)
docs |
[matrix] Matrix of labeled and unlabeled documents. |
n_class |
[numeric] Number of classes to be considered. |
hand_labeled_index |
[vector] Vector of index values for hand labeled documents in |
doc_name |
[character] Character string indicating the variable in 'docs' that denotes the text of the documents . |
index_name |
[character] Character string indicating the variable in 'docs' that denotes the index value of the documents . |
[matrix] Class assignment matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.