novelty: Novelty

Description Usage Arguments Value

View source: R/Novelty.R

Description

Computes test string novelty

Usage

1
novelty(train, test, n_gram = 2, proportion = FALSE)

Arguments

train

a vector of training strings

test

a vector of test strings

n_gram

the chunk sizes to analyze

proportion

whether the output represents raw values or is proportional to length of the string

Value

a vector of the novelty of each test string


cookm346/AGSuite documentation built on May 13, 2019, 10:50 p.m.