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

deprecatedclass %iKnow.Classification.Definition.Classifier extends node

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
6 4


Summary

Properties
BuilderParameters Categories ClassificationMethod TermDictionary
builderClass description

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SaveToClass %SerializeObject %SetModified
%ToString %Validate %ValidateObject XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType


Properties

• property BuilderParameters as list of BuilderParameter(XMLNAME="BuilderParameter",XMLPROJECTION="ELEMENT");
Optional list of parameters from the Builder instance creating this definition, so it can be used to restore a Builder instance from this definition to further optimize or otherwise refine it.
• property Categories as list of Category(XMLPROJECTION="WRAPPED") [ Required ];
The list of categories this classifier will choose from.
• property ClassificationMethod as ClassificationMethod [ Required ];
A wrapper for all the information needed to match the document vector built based on TermDictionary to the different categories this classifier is identifying.
• property TermDictionary as TermDictionary [ Required ];
A descriptor of the terms to consider for classification.
• property builderClass as %String(XMLPROJECTION="ATTRIBUTE");
The name of the %iKnow.Classification.Builder class used to create this classifier. (optional)
• property description as %String(MAXLEN=1000,XMLPROJECTION="ATTRIBUTE");
An optional description for this Classifier

Methods

• method %SaveToClass(pClassName As %String, pOverwriteExisting As %Boolean = 1, pVerbose As %Boolean = 0, pCompile As %Boolean = 1) as %Status
• method %ToString(Output pString As %String, pFormatted As %Boolean = 1) as %Status
• method %Validate() as %Status


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