Update function
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)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.