Expand description
Streaming / online depth computation for functional data.
This module decouples reference-set construction from query evaluation, enabling efficient depth computation in streaming scenarios:
SortedReferenceStatepre-sorts reference values per time point for O(log N) rank queries.StreamingMbduses a rank-based combinatorial identity to compute Modified Band Depth in O(T log N) per query instead of O(N^2 T).StreamingFraimanMunizcomputes Fraiman-Muniz depth via binary search on sorted columns.StreamingBdcomputes Band Depth with decoupled reference and early-exit optimisation.RollingReferencemaintains a sliding window of reference curves with incremental sorted-column updates.
Re-exports§
pub use bd::FullReferenceState;pub use bd::StreamingBd;pub use fraiman_muniz::StreamingFraimanMuniz;pub use mbd::StreamingMbd;pub use rolling::RollingReference;pub use sorted_ref::SortedReferenceState;
Modules§
- bd
- Streaming Band Depth (BD) estimator.
- fraiman_
muniz - Streaming Fraiman-Muniz depth estimator.
- mbd
- Streaming Modified Band Depth (MBD) estimator.
- rolling
- Rolling reference window with incremental sorted-column updates.
- sorted_
ref - Pre-sorted reference state for O(log N) rank queries.
Traits§
- Streaming
Depth - Trait for streaming depth estimators backed by a pre-built reference state.