Skip to main content

%iKnow.Classification.Definition.Classifier

Class %iKnow.Classification.Definition.Classifier Extends node [ Deprecated, System = 3 ]

Properties

description

Property description As %String(MAXLEN = 1000, XMLPROJECTION = "ATTRIBUTE");

An optional description for this Classifier

builderClass

Property builderClass As %String(XMLPROJECTION = "ATTRIBUTE");

The name of the %iKnow.Classification.Builder class used to create this classifier. (optional)

Categories

Property Categories As list Of Category(XMLPROJECTION = "WRAPPED") [ Required ];

The list of categories this classifier will choose from.

TermDictionary

Property TermDictionary As TermDictionary [ Required ];

A descriptor of the terms to consider for classification.

ClassificationMethod

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.

BuilderParameters

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.

Methods

%Validate

Method %Validate() As %Status

%GetFromDefinition

ClassMethod %GetFromDefinition(pDefinitionClass As %String, Output pModel As %iKnow.Classification.Definition.Classifier, pValidate As %Boolean = 1) As %Status [ Internal ]

%ToString

Method %ToString(Output pString As %String, pFormatted As %Boolean = 1) As %Status

%SaveToClass

Method %SaveToClass(pClassName As %String, pOverwriteExisting As %Boolean = 1, pVerbose As %Boolean = 0, pCompile As %Boolean = 1) As %Status