modelstatus module

module modelstatus

Module containing models status definition.

Exported constant settings:
  • MODEL_STATUS containing the possible settings for a model’s status

type ModelStatusSetting

This type represents a setting for a model’s status.

Parameters:
  • id – The unique identifier for the model status setting.

  • name – The name of the model status setting.

type modelstatus_struct

The type to define the possible settings for a model’s status.

Parameters:
  • TRAIN – ModelStatusSetting for training.

  • VALIDATE – ModelStatusSetting for validation.

function by_id(cls::modelstatus_struct, id::Int)

Returns the model status setting with the given id, or None if no such setting exists.

Parameters:
  • cls – A modelstatus_struct type.

  • id – The unique identifier of the model status setting to return.

Returns:

The model status setting with the given id, or None if no such setting exists.