Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%iKnow] >  [Classification] >  [Methods] >  [naiveBayes]
Private  Storage   

deprecatedclass %iKnow.Classification.Methods.naiveBayes extends 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.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1


Summary

Properties
Builder

Methods
%AddToSaveSet %BuildClassificationMethod %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Extends %GetParameter %IsA %IsModified
%LoadFromModel %New %NormalizeObject %ObjectModified
%OnNew %OnRemoveTerm %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject


Methods

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


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.