Description Usage Arguments Value Examples
Function predict.mcNb extends generic function predict for Naive Bayes model
1 2 |
model |
list containing two fields $prior and $condprob which are vector and matrix |
data |
data.frame contains values of our testing set (identical structure that was use in training set for building model) |
result matrix where for each sample from data set probabilities of each class are given
1 | predict.mcNb(model, data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.