Accuracy
Spec for AccuracyStat: weighted classification accuracy over (predictedClass, trueClass).
Functions
Wrap this paired spec so updates are forwarded only when pred evaluates true on (x, y).
Construct a live PairedStat from a PairedStatSpec. See SeriesStatSpec.materialize.
Construct a live stat from any StatSpec, dispatching on its modality. Useful for code paths (like StatSchemaDef.materialize) that iterate over an erased Map<String, StatSpec> and don't statically know the modality.
Min-max scale both axes of a paired spec against per-axis Range primaries.
Z-score both axes of a paired spec against per-axis Variance primaries.
Wrap this paired spec so it only sees one in every every updates.
Map only the x coordinate; y stays as-is.
Map only the y coordinate; x stays as-is.
Wrap this paired spec so every update's weight is multiplied by expr.eval(x, y).
Wrap this paired spec in a sliding time window of durationMillis split into slices buckets.
Adapt a paired spec into a series spec by pinning x to fixedX.
Adapt a paired spec into a series spec by pinning y to fixedY.
Lift a paired spec into a series spec by self-pairing each input with the value seen k updates ago.
Adapt a paired spec into a series spec by using the update timestamp as x.
Adapt a paired spec into a series spec by using the update timestamp as y.
Wrap this paired spec so every update applies the per-observation weight multiplier.