FuzzyGeoNaiveBayesModel: Fuzzy Geometric Naive Bayes (R6 class)

FuzzyGeoNaiveBayesModelR Documentation

Fuzzy Geometric Naive Bayes (R6 class)

Description

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

Super class

FuzzyClassifier -> FuzzyGeoNaiveBayes

Methods

Public methods

Inherited methods

FuzzyGeoNaiveBayes$new()

Create a new (untrained) classifier.

Usage
FuzzyGeoNaiveBayes$new(fuzzy = T)
Arguments
fuzzy

See FuzzyGeoNaiveBayes().


FuzzyGeoNaiveBayes$clone()

The objects of this class are cloneable with this method.

Usage
FuzzyGeoNaiveBayes$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

model <- FuzzyGeoNaiveBayesModel$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.