HalfSpaceTrees
Spec for HalfSpaceTreesStat: online ensemble of random half-space trees for multivariate anomaly scoring.
Properties
Functions
Wrap this vector spec so updates are forwarded only when pred evaluates true on the full vector.
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.
Construct a live VectorStat from a VectorStatSpec. See SeriesStatSpec.materialize.
Element-wise min-max scale a vector spec against a hidden per-coordinate Range primary.
Element-wise standardise a vector spec against a hidden per-coordinate Variance primary.
Wrap this vector spec so it only sees one in every every updates.
Wrap this vector spec to apply expr to every element of each incoming vector before update.
Wrap this vector spec so each incoming vector is remapped through expr before update.
Wrap this vector spec so every update's weight is multiplied by expr.eval(0, 0, vec).
Wrap this vector spec in a sliding time window of durationMillis split into slices buckets.
Wrap this vector spec so every update applies the per-observation weight multiplier.
HalfSpaceTrees
featureRanges
Per-feature value ranges used to draw random split thresholds.
featureSize
Number of input features.
height
numTrees
randomSeed
PRNG seed shared across trees.
windowSize
Observations per window before the reference profile rotates.