updateFNB: Update function

Description Usage Arguments

Description

Update function

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
fnb.update(object, x, y, sparse = FALSE, check = TRUE)

## Default S3 method:
fnb.update(object, x, y, sparse = FALSE, check = TRUE)

## S3 method for class 'fnb.bernoulli'
fnb.update(object, x, y, sparse = FALSE, check = TRUE)

## S3 method for class 'fnb.multinomial'
fnb.update(object, x, y, sparse = FALSE, check = TRUE)

## S3 method for class 'fnb.gaussian'
fnb.update(object, x, y, sparse = FALSE, check = TRUE)

## S3 method for class 'fnb.poisson'
fnb.update(object, x, y, sparse = FALSE, check = TRUE)

## S3 method for class 'fastNaiveBayes'
fnb.update(object, x, y, sparse = FALSE, check = TRUE)

Arguments

object

fitted model

x

numeric matrix

y

factor of classes

sparse

boolean, set to true to use sparse matrices

check

boolean, set to true to enable formal checks on input


fastNaiveBayes documentation built on May 4, 2020, 5:09 p.m.