1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! Streaming preprocessing utilities for feature transformation.
//!
//! These transformers process features incrementally, maintaining running
//! statistics that update with each sample -- no batch recomputation needed.
//!
//! # Modules
//!
//! | Module | Purpose |
//! |--------|---------|
//! | [`normalizer`] | Welford-based online standardization (zero-mean, unit-variance) |
//! | [`feature_selector`] | EWMA importance tracking with dynamic feature masking |
//! | [`ccipca`] | Candid Covariance-free Incremental PCA -- streaming dimensionality reduction |
//! | [`feature_hasher`] | Feature hashing (hashing trick) for fixed-size dimensionality reduction |
//! | [`min_max`] | Streaming min-max scaler for feature normalization to a target range |
//! | [`one_hot`] | Streaming one-hot encoder with online category discovery |
//! | [`target_encoder`] | Streaming target encoder with Bayesian smoothing |
//! | [`polynomial`] | Polynomial and interaction feature generation |
//!
//! # Example
//!
//! ```
//! use irithyll::preprocessing::{IncrementalNormalizer, OnlineFeatureSelector};
//!
//! let mut norm = IncrementalNormalizer::new();
//! let standardized = norm.update_and_transform(&[100.0, 0.5, -3.0]);
//!
//! let mut selector = OnlineFeatureSelector::new(3, 0.5, 0.1, 10);
//! selector.update_importances(&[0.9, 0.1, 0.8]);
//! let masked = selector.mask_features(&standardized);
//! ```
pub use CCIPCA;
pub use FeatureHasher;
pub use OnlineFeatureSelector;
pub use MinMaxScaler;
pub use IncrementalNormalizer;
pub use OneHotEncoder;
pub use PolynomialFeatures;
pub use TargetEncoder;
pub use ;
// Re-export the StreamingPreprocessor trait (defined in pipeline module).
pub use crateStreamingPreprocessor;