create_test_matrix: Transforms a vector of text to the same format of a given...

Description Usage Arguments Value

Description

Transforms a vector of text to the same format of a given training matrix (Retain same words)

Usage

1
create_test_matrix(Text, training_matrix, ngrams = 1, verbose = FALSE)

Arguments

Text

Text to be adapted

training_matrix

The matrix that was used to train the model

ngrams

Vector that specifies type of ngrams to generate

Value

An adapted matrix


jlricon/MaxClassify documentation built on May 29, 2019, 2:56 p.m.