query_label | R Documentation |
Queries documents for classification by oracle.
query_label(
docs,
label_id_vec,
n_class,
labels,
doc_name,
index_name,
labels_name = NULL,
active_iter = NULL,
maxIter = NULL,
handlabel = TRUE,
metadata_vars = NA,
already_selected = NA,
param_to_save = NA
)
docs |
[matrix] Matrix of labeled and/or unlabeled documents. |
label_id_vec |
[vector] Matrix of documents to be labeled. |
n_class |
[numeric] Number of classes to be considered. |
labels |
[vector] Vector of character strings indicating classification options. |
doc_name |
[character] Character string indicating the variable in |
index_name |
[character] Character string indicating the variable in 'docs' that denotes the index value of the document to be classified. |
labels_name |
[character] Character string indicating the variable in |
active_iter |
[numeric] Numeric value denoting which iteration of the active learning cycle the algorithm is in. Appears as header information to the user-labeling process. |
maxIter |
[numeric] Numeric value denoting the maximum number of active learning iterations. |
handlabel |
[logical] Boolean logical value indicating whether to initiate user-input script.
If set to |
param_to_save |
[list] List of variables to save if user chooses to. |
[matrix] or [list] If finishes to completion, structured matrix of labeled and unlabeled documents, updated with labels for the documents in 'label_id_vec'. Otherwise, a list of already hand labeled values to save.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.