RowReductionDetails

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

Bases: object

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.

Attributes

REDUCTION_METHOD_AVERAGE_ROW A constant which can be used with the reduction_method property of a RowReductionDetails.
REDUCTION_METHOD_DELETE_ROW A constant which can be used with the reduction_method property of a RowReductionDetails.
is_reduction_enabled [Required] Gets the is_reduction_enabled of this RowReductionDetails.
reduction_method [Required] Gets the reduction_method of this RowReductionDetails.
reduction_percentage [Required] Gets the reduction_percentage of this RowReductionDetails.

Methods

__init__(**kwargs) Initializes a new RowReductionDetails object with values from keyword arguments.
REDUCTION_METHOD_AVERAGE_ROW = 'AVERAGE_ROW'

A constant which can be used with the reduction_method property of a RowReductionDetails. This constant has a value of “AVERAGE_ROW”

REDUCTION_METHOD_DELETE_ROW = 'DELETE_ROW'

A constant which can be used with the reduction_method property of a RowReductionDetails. This constant has a value of “DELETE_ROW”

__init__(**kwargs)

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

Parameters:
  • is_reduction_enabled (bool) – The value to assign to the is_reduction_enabled property of this RowReductionDetails.
  • reduction_percentage (float) – The value to assign to the reduction_percentage property of this RowReductionDetails.
  • reduction_method (str) – The value to assign to the reduction_method property of this RowReductionDetails. Allowed values for this property are: “DELETE_ROW”, “AVERAGE_ROW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
is_reduction_enabled

[Required] Gets the is_reduction_enabled of this RowReductionDetails. A boolean value to indicate if row reduction is applied

Returns:The is_reduction_enabled of this RowReductionDetails.
Return type:bool
reduction_method

[Required] Gets the reduction_method of this RowReductionDetails. Method for row reduction:

  • DELETE_ROW - delete rows with equal intervals
  • AVERAGE_ROW - average multiple rows to one row

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

Returns:The reduction_method of this RowReductionDetails.
Return type:str
reduction_percentage

[Required] Gets the reduction_percentage of this RowReductionDetails. A percentage to reduce data size down to on top of original data

Returns:The reduction_percentage of this RowReductionDetails.
Return type:float