kumulant

QuantileFilterResult

@Serializable
@SerialName(value = "QuantileFilterResult")
data class QuantileFilterResult(val probability: Double, val threshold: Double, val totalWeights: Double) : HasObservationCount(source)

Snapshot from QuantileFilterStat: the running probability-quantile of the input stream plus the helper score that flags an observation as anomalous when it exceeds that quantile.

Constructors

QuantileFilterResult

constructor(probability: Double, threshold: Double, totalWeights: Double)(source)

Properties

probability

Probability at which the threshold is evaluated, in (0, 1).

threshold

Estimated quantile of the input stream at probability.

totalWeights

open override val totalWeights: Double(source)

Cumulative observation weight folded into the underlying sketch.

Link copied to clipboard
open val isEmpty: Boolean

True when no observation has been folded in, so every other field is a placeholder.

Functions

score

1.0 when x strictly exceeds threshold, 0.0 otherwise.