%ML.DR.TrainedModel

persistent class %ML.DR.TrainedModel extends %ML.TrainedModel

SQL Table Name: %ML_DR.TrainedModel

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties

property drjProvider as %ML.DR.Provider [ Transient ];
Property methods: drjProviderGet(), drjProviderGetSwizzled(), drjProviderIsValid(), drjProviderNewObject(), drjProviderSet()
property predServer as %List;
1: deploymentId, 2: prediction server ID, 3: prediction server URL, 4: prediction server key
Property methods: predServerGet(), predServerGetStored(), predServerIsValid(), predServerLogicalToOdbc(), predServerOdbcToLogical(), predServerSet()

Methods

method %Begin() as %Status [ Language = objectscript ]
Begin trained model operations
method %End() as %Status [ Language = objectscript ]
End trained model operations
method %Predict(data As %List, ByRef results As %List) as %Status [ Language = objectscript ]
Inherited description: Predict on an ML model
method %PredictAll(tfn As %Integer, argspos As %List, predpos As %List = "", probpos As %List = "", expr As %String = "") as %Status [ Language = objectscript ]
Bulk Predict arguments: tfn - tempfile index argspos - Positions of the WithColumns in the temp rows, $list(column-positions) predpos - Position of the predicted value, $list(result-column-positions) probpos - Position of the probability value, $list(result-column-positions) expr - expression for probability returns: $$$OK on success, otherwise a $$$ERROR(...)
method %Probability(expr As %String = 1, data As %List, ByRef results As %List) as %Status [ Language = objectscript ]
Predict probability on an ML model Arguments: expr: The argument of PROBABILITY's FOR clause, defaults to 1 data: $List of WITH clause values results: PBR, return value

Triggers

trigger DeleteTriggerDR (BEFORE event DELETE);
When deleting a trained model, delete the project and deployment of model in DR

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (%ML.TrainedModel)

^IRIS.ML.TrainedModelD(ID,"ModelInfo",n)
=
ModelInfo(n)

Storage Model: Storage (%ML.TrainedModel)

^IRIS.ML.TrainedModelD(ID)
=
%%CLASSNAME
Model
Provider
TrainingRun
TrainedAt
ModelName
ModelType

Storage Model: Storage (%ML.DR.TrainedModel)

^IRIS.ML.TrainedModelD(ID,"TrainedModel")
=
deploymentId
predServer
Feedback