FuzzyPoissonNaiveBayesModel: Fuzzy Poisson Naive Bayes (R6 class)

FuzzyPoissonNaiveBayesModelR Documentation

Fuzzy Poisson Naive Bayes (R6 class)

Description

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

Super class

FuzzyClassifier -> FuzzyPoissonNaiveBayes

Methods

Public methods

Inherited methods

FuzzyPoissonNaiveBayes$new()

Create a new (untrained) classifier.

Usage
FuzzyPoissonNaiveBayes$new(fuzzy = TRUE)
Arguments
fuzzy

See FuzzyPoissonNaiveBayes().


FuzzyPoissonNaiveBayes$clone()

The objects of this class are cloneable with this method.

Usage
FuzzyPoissonNaiveBayes$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

model <- FuzzyPoissonNaiveBayesModel$new()
x <- round(iris[, -5])
model$fit(train = x, cl = iris$Species)
head(model$predict(x))
head(model$predict(x, type = "prob"))
model

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