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
//! Online and incremental learning methods for streaming data
//!
//! This module provides algorithms that process data one batch (or sample) at a
//! time, making them suitable for large-scale or continuously-arriving datasets
//! that do not fit in memory.
//!
//! # Modules
//!
//! - [`incremental_pca`]: Incremental PCA using the Arora et al. algorithm
//! - [`online_scaler`]: Online normalization (min-max, z-score, robust)
//! - [`sketching`]: Sketching algorithms (Count-Min, Bloom filter, HyperLogLog, …)
//! - [`online_regression`]: Online regression (LASSO, ridge, PA, FTRL)
//!
//! # Example
//!
//! ```rust,no_run
//! use scirs2_transform::online::incremental_pca::IncrementalPCA;
//! use scirs2_core::ndarray::Array2;
//!
//! let mut ipca = IncrementalPCA::new(2, Some(10));
//! let batch: Array2<f64> = Array2::zeros((10, 5));
//! ipca.partial_fit(&batch).expect("should succeed");
//! let projected = ipca.transform(&batch).expect("should succeed");
//! ```
pub use IncrementalPCA;
pub use ;
pub use ;
pub use ;