INFORMATION.SCHEMA.MLVALIDATIONRUNS
Class INFORMATION.SCHEMA.MLVALIDATIONRUNS Extends %Library.Persistent [ ClassType = persistent, Final, Owner = {_PUBLIC}, SqlRowIdPrivate, SqlTableName = ML_VALIDATION_RUNS, StorageStrategy = SQLStorage, System = 4 ]
Returns one row for each Integrated ML Validation Run 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 Validation Run
MODELNAME
Property MODELNAME As %String(MAXLEN = 256) [ Required, SqlColumnNumber = 3, SqlFieldName = MODEL_NAME ];
Name of the model that was Validated
TRAINEDMODELNAME
Property TRAINEDMODELNAME As %String(MAXLEN = 256) [ Required, SqlColumnNumber = 4, SqlFieldName = TRAINED_MODEL_NAME ];
Name of the Trained Model that was Validated
VALIDATIONRUNNAME
Property VALIDATIONRUNNAME As %String(MAXLEN = 256) [ SqlColumnNumber = 5, SqlFieldName = VALIDATION_RUN_NAME ];
Name of the Validation Run
STARTTIMESTAMP
Property STARTTIMESTAMP As %TimeStamp [ Required, SqlColumnNumber = 6, SqlFieldName = START_TIMESTAMP ];
Timestamp for when the Validation Run began (UTC)
COMPLETEDTIMESTAMP
Property COMPLETEDTIMESTAMP As %TimeStamp [ Required, SqlColumnNumber = 7, SqlFieldName = COMPLETED_TIMESTAMP ];
Timestamp for when the Validation Run completed (UTC)
VALIDATIONDURATION
Property VALIDATIONDURATION As %Numeric [ SqlColumnNumber = 8, SqlComputeCode = { Set {*}=##class(%ML.TrainingRun).GetInterval({START_TIMESTAMP},{COMPLETED_TIMESTAMP}) }, SqlComputed, SqlFieldName = VALIDATION_DURATION, Transient ];
Validation duration (in seconds)
RUNSTATUS
Property RUNSTATUS As %String(DISPLAYLIST = ",Training,Completed,Failed", VALUELIST = ",training,completed,failed") [ SqlColumnNumber = 9, SqlFieldName = RUN_STATUS ];
Validation status
STATUSCODE
Property STATUSCODE As %Status [ SqlColumnNumber = 10, SqlFieldName = STATUS_CODE ];
Validation error (if encountered)
LOG
Property LOG As %Stream.GlobalCharacter [ SqlColumnNumber = 11, SqlFieldName = LOG ];
Validation log output
SETTINGS
Property SETTINGS As %String(MAXLEN = "") [ SqlColumnNumber = 13, SqlComputeCode = { Set {*}=##class(INFORMATION.SCHEMA.MLVALIDATIONRUNS).GetSettings({ID}) }, SqlComputed, SqlFieldName = SETTINGS, Transient ];
Validation Run Settings
VALIDATIONRUNQUERY
Property VALIDATIONRUNQUERY As %String(MAXLEN = 32000) [ SqlColumnNumber = 14, SqlFieldName = VALIDATION_RUN_QUERY ];
Validation Run query (SQL)
Methods
GetSettings
ClassMethod GetSettings(id As %BigInt) As %String [ Final, Internal, Language = objectscript ]
Given a ML_VALIDATION_RUN ID, get the display string for the %ML.ValidationRun.Settings
GetModelName
ClassMethod GetModelName(id As %BigInt) As %String [ Final, Internal, Language = objectscript ]
Given a Validation Run ID, return the Model Name
GetTrainedModelName
ClassMethod GetTrainedModelName(id As %BigInt) As %String [ Final, Internal, Language = objectscript ]
Given a Validation Run ID, returned the trained model name