| GauNBFuzzyParamModel | R Documentation |
R6 implementation of the Gaussian Naive Bayes with Fuzzy Parameters classifier. Create the model with
GauNBFuzzyParamModel$new(), train it with $fit(train, cl) and classify new
observations with $predict(newdata). The functional interface
GauNBFuzzyParam() trains and returns an object of this class.
FuzzyClassifier -> GauNBFuzzyParam
GauNBFuzzyParam$new()Create a new (untrained) classifier.
GauNBFuzzyParam$new( alphacut = 1e-04, metd = 2, alp = c(0.35, 0.7, 0.86), w = c(0.1, 0.3, 0.6) )
alphacutSee GauNBFuzzyParam().
metdSee GauNBFuzzyParam().
alpSee GauNBFuzzyParam().
wSee GauNBFuzzyParam().
GauNBFuzzyParam$clone()The objects of this class are cloneable with this method.
GauNBFuzzyParam$clone(deep = FALSE)
deepWhether to make a deep clone.
model <- GauNBFuzzyParamModel$new()
model$fit(train = iris[, -5], cl = iris$Species)
head(model$predict(iris[, -5]))
head(model$predict(iris[, -5], type = "prob"))
model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.