kumulant

DecayingMeanResult

@Serializable
@SerialName(value = "DecayingMeanResult")
data class DecayingMeanResult(val mean: Double, val totalWeights: Double, val timestampNanos: Long) : HasObservationCount(source)

Snapshot of an exponentially time-decayed weighted mean at timestampNanos.

Constructors

DecayingMeanResult

constructor(mean: Double, totalWeights: Double, timestampNanos: Long)(source)

Properties

mean

Time-decayed weighted running mean.

timestampNanos

Wall-clock timestamp (nanoseconds) at which the snapshot was taken.

totalWeights

open override val totalWeights: Double(source)

Effective weight of observations still contributing (decays with time).

Link copied to clipboard
open val isEmpty: Boolean

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