preprocessing2V2: Get matrix of probabilities of classifier believing that the...

Description Usage Arguments Value Examples

View source: R/preprocessing2v2.R

Description

Get matrix of probabilities of classifier believing that the emails is labeled as malicious from all email types

Usage

1
2
preprocessing2V2(lengthEmail = 5, vectorWords = c("viagra", "rajoy",
  "icmat", "hi", "bye"), fit)

Arguments

lengthEmail

legth of the email to consider.

vectorWords

vector that contains the email words

fit

object of class naive-Bayes including the results from training.

Value

This function returns a matrix with all email types and their corresponding ra

Examples

1
preprocessing2V2(lengthEmail, vectorWords,fit)

roinaveiro/acAra documentation built on May 27, 2019, 1:47 p.m.