%ML.AutoML.TrainedModel
persistent class %ML.AutoML.TrainedModel extends %ML.TrainedModel
SQL Table Name: %ML_AutoML.TrainedModel
Class for a trained AutoML model instanceProperty Inventory
Method Inventory
Properties
property ModelState as %Stream.GlobalCharacter;
Serialized model state
Property methods: ModelStateDelete(), ModelStateGet(), ModelStateGetObject(), ModelStateGetObjectId(), ModelStateGetStored(), ModelStateGetSwizzled(), ModelStateIsValid(), ModelStateNewObject(), ModelStateOid(), ModelStateOpen(), ModelStateSet(), ModelStateSetObject(), ModelStateSetObjectId(), ModelStateUnSwizzle()
Methods
method %Begin() as %Status
Begin trained model operations
classmethod %CreateTrainedModel(provider As %ML.AutoML.Provider, trainingrun As %ML.TrainingRun, ByRef trainedmodel As %ML.AutoML.TrainedModel) as %Status
Factory method to create a trained model
method %End() as %Status
End trained model operations
method %LoadModel() as %Status
Load a serialized model
Predict on an ML model
method %PredictAll(tfn As %Integer, argspos As %List, predpos As %List, probpos As %List = "", expr As %String = "", mtorder As %List, mtunary As %List) as %Status
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(...)
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
Inherited Members
Inherited Properties
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
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.AutoML.TrainedModel)
^IRIS.ML.TrainedModelD(ID,"TrainedModel") |
= | ModelState
WithColumnNames
WithColumnTypes
|