predict.FuzzyClassifier: Predict method for FuzzyClass classifiers

View source: R/FuzzyClassifier.R

predict.FuzzyClassifierR Documentation

Predict method for FuzzyClass classifiers

Description

S3 interface to the ⁠$predict()⁠ method of the FuzzyClassifier R6 objects, so that predict(model, newdata) keeps working as in previous versions.

Usage

## S3 method for class 'FuzzyClassifier'
predict(object, newdata, type = "class", ...)

Arguments

object

A trained FuzzyClassifier object.

newdata

Matrix or data frame of test set cases.

type

"class" (default) for predicted classes, or "prob" (synonyms "matrix" and "raw") for the matrix of class probabilities.

...

Ignored.

Value

A factor (type = "class") or a numeric matrix.


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