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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
//! Advanced feature engineering utilities
//!
//! This module provides comprehensive advanced feature engineering functionality
//! through a modular architecture supporting multiple engineering paradigms.
//!
//! ## Architecture
//!
//! The advanced feature engineering system is organized into focused modules:
//! - **Topological Features**: Persistent homology, Mapper, simplicial complexes
//! - **Parallel Processing**: High-performance parallel feature extraction
//! - **Probabilistic Methods**: Count-Min Sketch, Johnson-Lindenstrauss embeddings
//! - **Mixed Type Features**: Heterogeneous data type processing
//! - **Sampling Methods**: Reservoir, importance, and stratified sampling
//! - **Fast Transforms**: High-speed transformation algorithms
//! - **Engineering Types**: Common type definitions and enumerations
//! - **Engineering Utils**: Shared utilities and helper functions
//!
//! ## Quick Start
//!
//! ```rust,ignore
//! use sklears_feature_extraction::engineering::*;
//! use scirs2_core::ndarray::Array2;
//!
//! // Topological data analysis
//! let topo_extractor = PersistentHomologyExtractor::new()
//! .max_dimension(1)
//! .resolution(50);
//!
//! // Parallel feature extraction
//! let parallel_extractor = ParallelFeatureExtractor::new()
//! .n_jobs(4)
//! .chunk_size(1000);
//!
//! // Mixed type processing
//! let mixed_extractor = MixedTypeFeatureExtractor::new()
//! .missing_value_strategy(MissingValueStrategy::Mean)
//! .categorical_encoding(CategoricalEncoding::OneHot);
//!
//! let X = Array2::from_elem((100, 10), 1.0);
//! let features = topo_extractor.extract_features(&X.view())?;
//! ```
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
// Re-export basic feature engineering methods
pub use crate*;
// Re-export RBF and kernel approximation methods
pub use crate*;
// Re-export temporal feature extraction methods
pub use crate*;
// Re-export statistical feature extraction methods
pub use crate*;
// =============================================================================
// Re-exports from time_series_features for backward compatibility
// =============================================================================
// Time series wavelet transform components have been moved to time_series_features.rs
pub use crate;
// Time-frequency feature extractor has been moved to time_series_features.rs
pub use crateTimeFrequencyExtractor;
// =============================================================================
// Re-exports from topological_features for backward compatibility
// =============================================================================
// Topological feature extractors have been moved to topological_features.rs
// TODO: Re-enable after removing original definitions
// pub use crate::topological_features::{
// PersistentHomologyExtractor, MapperExtractor, SimplicialComplexExtractor,
// };