sklears_feature_extraction/
lib.rs

1#![allow(dead_code)]
2#![allow(non_snake_case)]
3#![allow(missing_docs)]
4#![allow(deprecated)]
5#![allow(clippy::all)]
6#![allow(clippy::pedantic)]
7#![allow(clippy::nursery)]
8//! Feature extraction from raw data (text, images)
9//!
10//! This module provides tools for extracting features from raw data such as
11//! text documents and images.
12
13// #![warn(missing_docs)]
14
15use scirs2_core::ndarray::{s, Array1};
16use scirs2_core::numeric::Float as NumTraitsFloat;
17use sklears_core::{error::Result as SklResult, prelude::SklearsError, types::Float};
18
19// Module declarations
20pub mod audio;
21pub mod basic_features;
22pub mod biological;
23pub mod dict_learning;
24pub mod engineering;
25pub mod feature_traits; // Trait-based feature extraction framework
26pub mod graph;
27pub mod image;
28pub mod image_advanced;
29pub mod information_theory;
30pub mod manifold;
31pub mod neural_simple;
32pub use neural_simple as neural;
33pub mod pipelines; // Feature extraction pipelines
34pub mod signal_processing;
35pub mod simd_image; // SIMD modules now use SciRS2-Core (stable Rust compatible)
36pub mod simd_ops;
37pub mod text;
38
39// Extracted feature engineering modules
40pub mod correlation_info_theory;
41pub mod custom_transformers;
42pub mod interaction;
43pub mod polynomial;
44pub mod polynomial_spline;
45pub mod rbf_methods;
46pub mod sketching_sampling;
47pub mod statistical_features;
48pub mod streaming_projection;
49pub mod temporal_features;
50pub mod time_series_features;
51pub mod topological_features;
52pub mod wavelet_features;
53
54// Re-exports for convenience
55pub use audio::*;
56pub use biological::*;
57pub use dict_learning::*;
58pub use engineering::*;
59pub use graph::*;
60pub use image::*;
61pub use image_advanced::*;
62pub use information_theory::*;
63pub use manifold::*;
64pub use neural::*;
65pub use signal_processing::*;
66pub use simd_ops::*;
67pub use text::*;
68
69// Re-exports for extracted feature engineering modules
70pub use correlation_info_theory::*;
71pub use interaction::RadialBasisFunctions;
72pub use streaming_projection::*;
73pub use topological_features::*;
74
75#[allow(non_snake_case)]
76#[cfg(test)]
77mod tests;