%DeepSee.PMML.Model.Text
Class %DeepSee.PMML.Model.Text Extends %DeepSee.PMML.Model.AbstractModel [ Abstract, System = 4 ]
Parameters
DOCCOUNT
Parameter DOCCOUNT As INTEGER;
TERMCOUNT
Parameter TERMCOUNT As INTEGER;
TRACEWEIGHTTYPE
Parameter TRACEWEIGHTTYPE = "add";
SIMILARITYMETRIC
Parameter SIMILARITYMETRIC As STRING;
Properties
Indexer
Property Indexer As %iKnow.Indexer [ Internal, Private ];
DocTermMatrix
Property DocTermMatrix [ MultiDimensional ];
Methods
GetQueryVector
Method GetQueryVector(pInput As %DeepSee.PMML.ModelInput, Output pVector) As %Status [ Abstract, Internal ]
Returns a vector containing the weighed frequency values for the query terms, using the information in this TextModel's Dictionary.
CreateOutput
Method CreateOutput(pDoc As %Integer, pScore As %Double, Output pOutput As %DeepSee.PMML.ModelOutput) As %Status [ Abstract, Private ]
%CreateModelClass
ClassMethod %CreateModelClass(pClass As %Dictionary.ClassDefinition, pDefinition As %DeepSee.PMML.Definition.Models.AbstractModel) As %Status [ Internal ]
%ExecuteModelInternal
Method %ExecuteModelInternal(pInput As %DeepSee.PMML.ModelInput, Output pOutput As %DeepSee.PMML.ModelOutput) As %Status [ Private ]
GetTermsFromText
Method GetTermsFromText(pText As %String, ByRef pTerms, Output pFrequencies, pLanguages As %String = "en") As %Status [ Internal, Private ]
GetTermValue
ClassMethod GetTermValue(pTermId As %Integer) As %String [ Abstract, Internal ]
%OnGetOutputFeature
ClassMethod %OnGetOutputFeature(pMethod As %Stream.Object, pDefinition As %DeepSee.PMML.Definition.Models.AbstractModel, pOutputField As %DeepSee.PMML.Definition.OutputField, ByRef pFeatureValueVar As %String, Output pSupported As %Boolean) As %Status [ Internal, Private ]