Skip to main content

%DeepSee.PMML.Builder.AbstractBuilder

Class %DeepSee.PMML.Builder.AbstractBuilder Extends %SerialObject [ System = 4 ]

Parameters

MODELCLASSNAME

Parameter MODELCLASSNAME As CLASSNAME;

Properties

Dataset

Property Dataset As %DeepSee.PMML.Dataset [ Transient ];

TargetField

Property TargetField As %String;

Description

Property Description As %String;

ModelName

Property ModelName As %String [ Required ];

FunctionName

Property FunctionName As %String [ InitialExpression = "classification" ];

AlgorithmName

Property AlgorithmName As %String;

OutputProbability

Property OutputProbability As %Boolean [ InitialExpression = 1 ];

DataSources

Property DataSources As list Of %DeepSee.PMML.Definition.Extension.DataSource;

Methods

GeneratePMML

Method GeneratePMML(Output pPMML As %DeepSee.PMML.Definition.PMML) As %Status [ Final ]

AppendModel

Method AppendModel(ByRef pPMML As %DeepSee.PMML.Definition.PMML, pAddUnknownFields As %Boolean = 1) As %Status [ Final ]

BuildModel

Method BuildModel(ByRef pModel As %DeepSee.PMML.Definition.Models.AbstractModel) As %Status [ Abstract, Private ]

AddDataSourceCube

Method AddDataSourceCube(pName As %String, pCubeName As %String, ByRef pFieldMap, pFilter As %String = "") As %Status

Registers an additional DeepSee-based Data Source so it will be added to the generated PMML's DataDictionary section and can subsequently be used for validation purposes. Expected field mapping format: pFieldMap([fieldName]) = [DeepSee spec]

AddDataSourceSQL

Method AddDataSourceSQL(pName As %String, pSQL As %String, ByRef pFieldMap, pIdField As %String = "") As %Status

Registers an additional SQL-based Data Source so it will be added to the generated PMML's DataDictionary section and can subsequently be used for validation purposes. Expected field mapping format: pFieldMap([fieldName]) = [column name]