IgnoreNearExpected

sealed class IgnoreNearExpected

Configuration for threshold settings that determine when values near expected values should be ignored during anomaly detection.

Inheritors

Types

Link copied to clipboard
data class Amount(val value: Double) : IgnoreNearExpected

The absolute amount by which values can differ from expected values before being considered anomalous.

Link copied to clipboard
data class Ratio(val value: Double) : IgnoreNearExpected

The ratio by which values can differ from expected values before being considered anomalous.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this IgnoreNearExpected as a Amount and retrieves its kotlin.Double value. Throws an exception if the IgnoreNearExpected is not a Amount.

Link copied to clipboard

Casts this IgnoreNearExpected as a Amount and retrieves its kotlin.Double value. Returns null if the IgnoreNearExpected is not a Amount.

Link copied to clipboard

Casts this IgnoreNearExpected as a Ratio and retrieves its kotlin.Double value. Throws an exception if the IgnoreNearExpected is not a Ratio.

Link copied to clipboard

Casts this IgnoreNearExpected as a Ratio and retrieves its kotlin.Double value. Returns null if the IgnoreNearExpected is not a Ratio.