INFORMATION.SCHEMA.MLTRAINEDMODELS
Class INFORMATION.SCHEMA.MLTRAINEDMODELS Extends %Library.Persistent [ ClassType = persistent, Final, Owner = {_PUBLIC}, SqlRowIdPrivate, SqlTableName = ML_TRAINED_MODELS, StorageStrategy = SQLStorage, System = 4 ]
Returns one row for each Integrated ML Trained Model that can be accessed by the current user in the current namespace.
Parameters
READONLY
Parameter READONLY = 1;
Properties
ID
Property ID As %BigInt [ Internal, Private, Required, SqlColumnNumber = 2, SqlFieldName = ID ];
ID of the Training Run
MODELNAME
Property MODELNAME As %String(MAXLEN = 256) [ Required, SqlColumnNumber = 3, SqlFieldName = MODEL_NAME ];
Name of the model that was trained
TRAINEDMODELNAME
Property TRAINEDMODELNAME As %String(MAXLEN = 256) [ SqlColumnNumber = 4, SqlFieldName = TRAINED_MODEL_NAME ];
Name of the Trained Model, same as the name for the corresponding Training Run
PROVIDER
Property PROVIDER As %String(MAXLEN = 128) [ SqlColumnNumber = 5, SqlFieldName = PROVIDER ];
Provider used with Training Run
TRAINEDTIMESTAMP
Property TRAINEDTIMESTAMP As %TimeStamp [ Required, SqlColumnNumber = 6, SqlFieldName = TRAINED_TIMESTAMP ];
Timestamp for when the Trained Model was created (UTC)
MODELTYPE
Property MODELTYPE As %String(DISPLAYLIST = ",Classification,Regression") [ SqlColumnNumber = 7, SqlFieldName = MODEL_TYPE ];
Type of the Trained Model
MODELINFO
Property MODELINFO As %String(MAXLEN = "") [ SqlColumnNumber = 8, SqlFieldName = MODEL_INFO ];
Model information
Methods
GetModelInfo
ClassMethod GetModelInfo(id As %BigInt) As %String [ Final, Internal, Language = objectscript ]
GetModelName
ClassMethod GetModelName(id As %BigInt) As %String [ Final, Internal, Language = objectscript ]
Given the Trained Model ID, return the Model Name
IsPrivileged
ClassMethod IsPrivileged(id As %BigInt) As %String [ Final, Internal, Language = objectscript ]
Given the Trained Model ID, is the user privileged to see this Trained Model info? We make sure the user is privileged on the Training Run query