match_EM_to_docs: Match EM Output to Document Matrix

match_EM_to_docsR Documentation

Match EM Output to Document Matrix

Description

Matches the output of the previous run of the EM algorithm to the matrix of documents.

Usage

match_EM_to_docs(
  docs,
  EMoutput,
  classes,
  doc_name,
  index_name,
  labels_name = NULL
)

Arguments

docs

[matrix] Matrix of labeled and unlabeled documents.

EMoutput

[matrix] Matrix of expected class assignments produced by EM algorithm..

classes

[vector] Vector of character strings indicating the classes being considered.

doc_name

[character]

index_name

[character] Character string indicating the variable in 'docs' that denotes the index value of the documents .

labels_name

[character] Character string indicating the variable in docs that denotes the already known labels of the documents. By default, value is set to NULL.

Value

[matrix] Matrix of documents that the EM algorithm is uncertain about.


activetext/activeR documentation built on May 31, 2024, 10:21 a.m.