mlr3learners (version 0.1.5)

LearnerClassifNaiveBayes: Naive Bayes Classification Learner

Description

Naive Bayes classification. Calls e1071::naiveBayes() from package e1071.

Arguments

Format

R6::R6Class() inheriting from mlr3::LearnerClassif.

Construction

LearnerClassifNaiveBayes$new()
mlr3::mlr_learners$get("classif.naive_bayes")
mlr3::lrn("classif.naive_bayes")

See Also

Dictionary of Learners: mlr3::mlr_learners

Examples

Run this code
# NOT RUN {
learner = mlr3::lrn("classif.naive_bayes")
print(learner)

# available parameters:
learner$param_set$ids()
# }

Run the code above in your browser using DataLab