ModelTrainingDetails

class oci.ai_anomaly_detection.models.ModelTrainingDetails(**kwargs)

Bases: object

Specifies the details of the MSET model during the create call.

Attributes

ALGORITHM_HINT_MULTIVARIATE_MSET A constant which can be used with the algorithm_hint property of a ModelTrainingDetails.
ALGORITHM_HINT_UNIVARIATE_OCSVM A constant which can be used with the algorithm_hint property of a ModelTrainingDetails.
algorithm_hint Gets the algorithm_hint of this ModelTrainingDetails.
data_asset_ids [Required] Gets the data_asset_ids of this ModelTrainingDetails.
target_fap Gets the target_fap of this ModelTrainingDetails.
training_fraction Gets the training_fraction of this ModelTrainingDetails.
window_size Gets the window_size of this ModelTrainingDetails.

Methods

__init__(**kwargs) Initializes a new ModelTrainingDetails object with values from keyword arguments.
ALGORITHM_HINT_MULTIVARIATE_MSET = 'MULTIVARIATE_MSET'

A constant which can be used with the algorithm_hint property of a ModelTrainingDetails. This constant has a value of “MULTIVARIATE_MSET”

ALGORITHM_HINT_UNIVARIATE_OCSVM = 'UNIVARIATE_OCSVM'

A constant which can be used with the algorithm_hint property of a ModelTrainingDetails. This constant has a value of “UNIVARIATE_OCSVM”

__init__(**kwargs)

Initializes a new ModelTrainingDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • algorithm_hint (str) – The value to assign to the algorithm_hint property of this ModelTrainingDetails. Allowed values for this property are: “MULTIVARIATE_MSET”, “UNIVARIATE_OCSVM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • target_fap (float) – The value to assign to the target_fap property of this ModelTrainingDetails.
  • training_fraction (float) – The value to assign to the training_fraction property of this ModelTrainingDetails.
  • window_size (int) – The value to assign to the window_size property of this ModelTrainingDetails.
  • data_asset_ids (list[str]) – The value to assign to the data_asset_ids property of this ModelTrainingDetails.
algorithm_hint

Gets the algorithm_hint of this ModelTrainingDetails. User can choose specific algorithm for training.

Allowed values for this property are: “MULTIVARIATE_MSET”, “UNIVARIATE_OCSVM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The algorithm_hint of this ModelTrainingDetails.
Return type:str
data_asset_ids

[Required] Gets the data_asset_ids of this ModelTrainingDetails. The list of OCIDs of the data assets to train the model. The dataAssets have to be in the same project where the ai model would reside.

Returns:The data_asset_ids of this ModelTrainingDetails.
Return type:list[str]
target_fap

Gets the target_fap of this ModelTrainingDetails. A target model accuracy metric user provides as their requirement

Returns:The target_fap of this ModelTrainingDetails.
Return type:float
training_fraction

Gets the training_fraction of this ModelTrainingDetails. Fraction of total data that is used for training the model. The remaining is used for validation of the model.

Returns:The training_fraction of this ModelTrainingDetails.
Return type:float
window_size

Gets the window_size of this ModelTrainingDetails. This value would determine the window size of the training algorithm.

Returns:The window_size of this ModelTrainingDetails.
Return type:int