Description Usage Arguments Value Examples
View source: R/preprocessing.R
For a given email length, and set of words, this function generates all possible emails, and the means to be used by ACRA.
1 | preprocessing(n, fit, words = c("viagra", "rajoy", "icmat", "hi", "bye"))
|
n |
length of email. |
fit |
object of class NB with the results of training. |
words |
set of all words of the email. |
This function creates a dataframe including all possible emails together with their means.
1 | preprocessing(n, words, fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.