Description Usage Arguments Value
This function computes the Naive-Bayes estimates of the priors
p(+)
and p(-)
.
1 | getNBPriors(object)
|
object |
an object of class naiveBayes containing at least the tables of the likelihood of each word in the trained model. |
This function returns a matrix containg
* p(-)
= Under the label 0.
* p(+)
= Under the label 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.