| DWFuzzyGammaNaiveBayesModel | R Documentation |
R6 implementation of the Double Weighted Fuzzy Gamma Naive Bayes classifier. Create the model with
DWFuzzyGammaNaiveBayesModel$new(), train it with $fit(train, cl) and classify new
observations with $predict(newdata). The functional interface
DWFuzzyGammaNaiveBayes() trains and returns an object of this class.
FuzzyClassifier -> DWFuzzyGammaNaiveBayes
DWFuzzyGammaNaiveBayes$new()Create a new (untrained) classifier.
DWFuzzyGammaNaiveBayes$new(fuzzy = TRUE, wdelta, weta)
fuzzySee DWFuzzyGammaNaiveBayes().
wdeltaSee DWFuzzyGammaNaiveBayes().
wetaSee DWFuzzyGammaNaiveBayes().
DWFuzzyGammaNaiveBayes$clone()The objects of this class are cloneable with this method.
DWFuzzyGammaNaiveBayes$clone(deep = FALSE)
deepWhether to make a deep clone.
model <- DWFuzzyGammaNaiveBayesModel$new(wdelta = rep(1/3, 3), weta = c(0.3, 0.2, 0.5))
data(GamWeightData)
model$fit(train = GamWeightData[, -4], cl = GamWeightData[, 4])
head(model$predict(GamWeightData[, -4]))
model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.