Data Source: oci_ai_anomaly_detection_models
This data source provides the list of Models in Oracle Cloud Infrastructure Ai Anomaly Detection service.
Returns a list of Models.
Example Usage
data "oci_ai_anomaly_detection_models" "test_models" {
#Required
compartment_id = var.compartment_id
#Optional
display_name = var.model_display_name
project_id = oci_ai_anomaly_detection_project.test_project.id
state = var.model_state
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The ID of the compartment in which to list resources.display_name
- (Optional) A filter to return only resources that match the entire display name given.project_id
- (Optional) The ID of the project for which to list the objects.state
- (Optional) Filter results by the specified lifecycle state. Must be a valid state for the resource type.
Attributes Reference
The following attributes are exported:
model_collection
- The list of model_collection.
Model Reference
The following attributes are exported:
compartment_id
- The OCID for the model’s compartment.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
description
- A short description of the Model.display_name
- A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.freeform_tags
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
id
- The OCID of the model that is immutable on creation.lifecycle_details
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.model_training_details
- Specifies the details of the MSET model during the create call.algorithm_hint
- User can choose specific algorithm for training.data_asset_ids
- 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.target_fap
- A target model accuracy metric user provides as their requirementtraining_fraction
- Fraction of total data that is used for training the model. The remaining is used for validation of the model.window_size
- This value would determine the window size of the training algorithm.
model_training_results
- Specifies the details for an Anomaly Detection model trained with MSET.algorithm
- Actual algorithm used to train the modelfap
- The final-achieved model accuracy metric on individual value levelis_training_goal_achieved
- A boolean value to indicate if train goal/targetFap is achieved for trained modelmultivariate_fap
- The model accuracy metric on timestamp level.row_reduction_details
- Information regarding how/what row reduction methods will be applied. If this property is not present or is null, then it means row reduction is not applied.is_reduction_enabled
- A boolean value to indicate if row reduction is appliedreduction_method
- Method for row reduction:- DELETE_ROW - delete rows with equal intervals
- AVERAGE_ROW - average multiple rows to one row
reduction_percentage
- A percentage to reduce data size down to on top of original data
signal_details
- The list of signal details.details
- detailed information for a signal.fap
- Accuracy metric for a signal.is_quantized
- A boolean value to indicate if a signal is quantized or not.max
- Max value within a signal.min
- Min value within a signal.mvi_ratio
- The ratio of missing values in a signal filled/imputed by the IDP algorithm.signal_name
- The name of a signal.status
- Status of the signal:- ACCEPTED - the signal is used for training the model
- DROPPED - the signal does not meet requirement, and is dropped before training the model.
- OTHER - placeholder for other status
std
- Standard deviation of values within a signal.
warning
- A warning message to explain the reason when targetFap cannot be achieved for trained modelwindow_size
- Window size defined during training or deduced by the algorithm.
project_id
- The OCID of the project to associate with the model.state
- The state of the model.system_tags
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- The time the the Model was created. An RFC3339 formatted datetime string.time_updated
- The time the Model was updated. An RFC3339 formatted datetime string.