%iKnow.Classification.Methods.pmml
Class %iKnow.Classification.Methods.pmml Extends Base [ Deprecated, System = 4 ]
This Builder implementation leverages a model defined in PMML for the numerical part of the categorization task. Term selection occurs as normal, but before calling %GenerateClassifier or %CreateClassifierClass, either of the following two steps needs to be taken:
- Register a valid %DeepSee.PMML.Builder.AbstractBuilder instance as PMMLBuilder, which will then generate the PMML code automatically when generating the classifier definition as usual
- Use an external tool to build the model, based on the training data table generated through a call to %ExportDataTable on the builder object. Then copy the PMML code generated by this external tool into this instance's PMMLString property.
Properties
PMMLBuilder
Property PMMLBuilder As %DeepSee.PMML.Builder.AbstractBuilder;
A valid and fully configured PMML Builder instance. Note that the DataSet and TargetField properties of the PMML Builder will be configured automatically.
PMMLString
Property PMMLString As %String(MAXLEN = "");
A valid PMML model, using data field names corresponding to the columns of the table generated by %ExportDataTable.
Methods
%BuildClassificationMethod
Method %BuildClassificationMethod(ByRef pClassifier As %iKnow.Classification.Definition.Classifier, pIncludeBuilderParams As %Boolean = 1, pVerbose As %Boolean = 1) As %Status
%LoadFromModel
Method %LoadFromModel(pDefinition As %iKnow.Classification.Definition.Classifier) As %Status