DetectionResultItem

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

Bases: object

An object to hold detection result for one timestamp/row.

Methods

__init__(**kwargs) Initializes a new DetectionResultItem object with values from keyword arguments.

Attributes

anomalies [Required] Gets the anomalies of this DetectionResultItem.
row_index Gets the row_index of this DetectionResultItem.
score Gets the score of this DetectionResultItem.
timestamp Gets the timestamp of this DetectionResultItem.
__init__(**kwargs)

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

Parameters:
  • timestamp (datetime) – The value to assign to the timestamp property of this DetectionResultItem.
  • row_index (int) – The value to assign to the row_index property of this DetectionResultItem.
  • score (float) – The value to assign to the score property of this DetectionResultItem.
  • anomalies (list[oci.ai_anomaly_detection.models.Anomaly]) – The value to assign to the anomalies property of this DetectionResultItem.
anomalies

[Required] Gets the anomalies of this DetectionResultItem. An array of anomalies associated with a given timestamp/row.

Returns:The anomalies of this DetectionResultItem.
Return type:list[oci.ai_anomaly_detection.models.Anomaly]
row_index

Gets the row_index of this DetectionResultItem. The index number to indicate where anomaly points are located among all rows when there are no timestamps provided.

Returns:The row_index of this DetectionResultItem.
Return type:int
score

Gets the score of this DetectionResultItem. A significant score across multiple signals at timestamp/row level

Returns:The score of this DetectionResultItem.
Return type:float
timestamp

Gets the timestamp of this DetectionResultItem. The time stamp associated with a list of anomaly points, format defined by RFC3339.

Returns:The timestamp of this DetectionResultItem.
Return type:datetime