skcla_nb | R Documentation |
Implements classification using the Gaussian Naive Bayes algorithm. This function wraps the GaussianNB from Python's scikit-learn library.
skcla_nb(attribute, slevels, var_smoothing = 1e-09, priors = NULL)
attribute |
Target attribute name for model building |
slevels |
List of possible values for classification target |
var_smoothing |
Portion of the largest variance of all features that is added to variances |
priors |
Prior probabilities of the classes. If specified must be a list of length n_classes |
Naive Bayes Classifier
A Naive Bayes classifier object
skcla_nb
object
#See an example of using `skcla_nb` at this
#https://github.com/cefet-rj-dal/daltoolboxdp/blob/main/examples/skcla_nb.md
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.