This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


class %iKnow.Classification.Methods.naiveBayes extends %iKnow.Classification.Methods.Base

This classification method relies on the Naive Bayes theorem to calculate the probability a document belongs to a category based on probability scores for the individual terms.

Given this probability-based approach, the document vector local weights and normalization settings are fixed at "binary" and "none" respectively.

Method Inventory (Including Private)


method %BuildClassificationMethod(ByRef pClassifier As %iKnow.Classification.Definition.Classifier, pVerbose As %Boolean = 1, pIncludeBuilderParams As %Boolean = 1) as %Status

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)