Summary
FeatureDistributionDriftDetector is RTTA's streaming implementation of: Bounded ADWIN-style drift detector for a single streaming feature distribution.
Update API
result = rtta.FeatureDistributionDriftDetector().update(feature)
The update(...) call consumes one observation using feature. advance(...)
uses the same inputs when the caller wants to update state without materializing
a Python return value.
Theory Of Operation
FeatureDistributionDriftDetector maintains an adaptive recent window and searches every admissible split for a statistically meaningful difference between the old and new subwindow means. The signal direction is the sign of the best accepted mean shift; accepting a split discards the older prefix.
Recurrence
Let \(z_t = feature_t\) denote the observation consumed by one
update(...) call and let \(\theta\) denote constructor parameters such as
window lengths, thresholds, and smoothing constants.
When a cut is accepted, the older prefix is discarded and the retained suffix becomes the next adaptive window.
The return value is the current scalar indicator value.
Implementation Notes
The recurrence is implemented in src/rtta/indicator.cpp in class FeatureDistributionDriftDetector.
