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

deprecatedclass %iKnow.Classification.Definition.ClassificationMethod extends node

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
8 1


Summary

Properties
CategoryTermWeights CategoryWeights ClassificationRules GlobalTermWeights
PMML localTermWeights method normalization

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


Properties

• property CategoryTermWeights as %DeepSee.PMML.Definition.Util.Matrix;
This matrix contains the term weights within the specific categories of this classifier when method is "cosineSimilarity", "euclideanDistance", "naiveBayes" or "linearRegression". Rows correspond positionally to the categories in the Categories element and columns to the terms in the TermDictionary, appended with any MetadataProperty elements. The meaning of the "weight" value is dependent on the classification method and might correspond to an actual weight (vector space), a probability (naiveBayes) or coefficient (regression)
• property CategoryWeights as %DeepSee.PMML.Definition.Util.Array;
When method="naiveBayes", this array contains any a-priori probabilities of the categories, used to weigh the per-category term-based probabilities.
• property ClassificationRules as ClassificationRules;
If method="rules", this element contains the actual decision rules for deriving the category from the text input
• property GlobalTermWeights as %DeepSee.PMML.Definition.Util.Array;
Any global term weights for the terms in the TermDictionary, based on their corpus-wide relevance. Used to weigh the Document Vector. This property cannot be used when method = "naiveBayes".
• property PMML as %DeepSee.PMML.Definition.PMML;
If method="pmml", this element contains the PMML model to be used for categorization
• property localTermWeights as %String(VALUELIST=",linear,binary,logarithmic",XMLPROJECTION="ATTRIBUTE") [ InitialExpression = "binary",Required ];
The local term weight metric to use to build the Document Vector. The default setting (binary) means simple 0s and 1s will be used to identify if the term occurred in the document or not. Some values for method impose restrictions on this property.
• property method as %String(VALUELIST=",cosineSimilarity,euclideanDistance,naiveBayes,linearRegression,pmml,rules",XMLPROJECTION="ATTRIBUTE") [ Required ];
This is the method the classifier will use to match the document vector against the different Categories. Depending on this method, the weights in the CategoryTermWeights vectors will represent different metrics.
• property normalization as %String(VALUELIST=",none,cosine",XMLPROJECTION="ATTRIBUTE") [ InitialExpression = "none",Required ];
The normalization function to apply to the Document Vector. Some values for method impose restrictions on this property.

Methods

• method %Validate(ByRef pInfo) as %Status


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