Description Usage Arguments Value
A function of Naive Bayes Classifier for numeric only independents.
1 | predict_naive_bn(fit, newdata, threshold)
|
fit |
a data.table class modelling dataset; only support numeric independents. |
newdata |
a data.table class dataset with target variable; only support numeric independents. |
threshold |
a positive numeric, usually small; if the variance of independent is 0, then use this value to replace it to avoid perfect division. |
a list of modeling result. It contains the following components: predict: a prediction result table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.