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
//! Streaming support for large datasets.
//!
//! This module provides two complementary APIs:
//!
//! 1. **Legacy streaming** (`StreamingIterator`, `StreamConfig`, `DataChunk`, …):
//! the original chunk-based streaming from CSV and binary files.
//!
//! 2. **New streaming iterator** (`NewStreamingIterator`, `DataSource`,
//! `StreamingIteratorConfig`, `StreamingDataChunk`): a cleaner API that
//! supports in-memory, CSV, and directory sources with optional shuffle.
//!
//! 3. **DataLoader** (`DataLoader`, `Batch`, `SamplingStrategy`,
//! `DataLoaderConfig`): PyTorch-style mini-batch iterator for neural-
//! network training, with stratified, weighted, and epoch-level shuffle
//! strategies.
//!
//! 4. **Transforms** (`Transform`, `Normalize`, `Filter`, `MapFeatures`,
//! `TransformPipeline`): composable, lazy transformations on
//! `StreamingDataChunk` values.
// Sub-modules
// Re-export legacy API (preserves all existing public re-exports from lib.rs)
pub use ;
// Re-export new streaming iterator API
pub use ;
// Re-export DataLoader API
pub use ;
// Re-export transform API
pub use ;