FuzzyBetaNaiveBayesModel: Fuzzy Beta Naive Bayes (R6 class)

FuzzyBetaNaiveBayesModelR Documentation

Fuzzy Beta Naive Bayes (R6 class)

Description

R6 implementation of the Fuzzy Beta Naive Bayes classifier. Create the model with FuzzyBetaNaiveBayesModel$new(), train it with ⁠$fit(train, cl)⁠ and classify new observations with ⁠$predict(newdata)⁠. The functional interface FuzzyBetaNaiveBayes() trains and returns an object of this class.

Super class

FuzzyClassifier -> FuzzyBetaNaiveBayes

Methods

Public methods

Inherited methods

FuzzyBetaNaiveBayes$new()

Create a new (untrained) classifier.

Usage
FuzzyBetaNaiveBayes$new(fuzzy = TRUE)
Arguments
fuzzy

See FuzzyBetaNaiveBayes().


FuzzyBetaNaiveBayes$clone()

The objects of this class are cloneable with this method.

Usage
FuzzyBetaNaiveBayes$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

model <- FuzzyBetaNaiveBayesModel$new()
model$fit(train = iris[, -5] / 10, cl = iris$Species)
head(model$predict(iris[, -5] / 10))
head(model$predict(iris[, -5] / 10, type = "prob"))
model

FuzzyClass documentation built on Oct. 22, 2026, 1:07 a.m.