yohou.preprocessing¶
Preprocessing transformers for stationarization and feature engineering.
Classes¶
| Name | Description |
|---|---|
CalendarFeatureTransformer |
Extract calendar-based features from the time column. |
DaylightSavingFeatureTransformer |
Deterministic daylight-saving-time features from the time column. |
HolidayFeatureTransformer |
Extract holiday indicator features from a user-provided holiday calendar. |
FunctionTransformer |
Constructs a transformer from an arbitrary callable. |
SeasonalImputer |
Seasonal decomposition-based imputation for missing values. |
SimpleImputer |
Simple imputation using sklearn's SimpleImputer. |
SimpleTimeImputer |
Time series imputation using interpolation or filling methods. |
TransformedSpaceKNNImputer |
K-nearest neighbors imputation in a transformed feature space. |
OutlierPercentileHandler |
Handle outliers based on percentile thresholds. |
OutlierThresholdHandler |
Handle outliers based on fixed threshold values. |
Downsampler |
Downsample time series to a lower frequency using aggregation. |
Upsampler |
Upsample time series to a higher frequency using interpolation. |
NumericalDifferentiator |
Numerical differentiation transformer for time series signals. |
NumericalFilter |
Apply digital IIR or FIR filters to time series data. |
NumericalIntegrator |
Numerical integration transformer for time series signals. |
SklearnScaler |
Wrapper to integrate sklearn scalers into the Yohou pipeline. |
SklearnTransformer |
Wrapper to integrate sklearn transformers into the Yohou pipeline. |
MaxAbsScaler |
Scale each feature by its maximum absolute value. |
MinMaxScaler |
Transform features by scaling each feature to a given range. |
Normalizer |
Normalize samples individually to unit norm. |
PolynomialFeatures |
Generate polynomial and interaction features. |
PowerTransformer |
Apply a power transform featurewise to make data more Gaussian-like. |
QuantileTransformer |
Transform features using quantiles information. |
RobustScaler |
Scale features using statistics that are robust to outliers. |
SplineTransformer |
Generate univariate B-spline bases for features. |
StandardScaler |
Standardize features by removing the mean and scaling to unit variance. |
FourierFeatureTransformer |
Generate Fourier harmonic features from the time column. |
TimeIndexTransformer |
Convert the time column to a numeric index with optional polynomial terms. |
ExponentialMovingAverage |
Exponentially Weighted Moving Average (EWMA) transformer. |
LagTransformer |
Create lagged features from time series data. |
MeanLagTransformer |
Create mean-lagged features by averaging across lag multiples. |
RollingStatisticsTransformer |
Compute rolling window statistics for time series. |
SlidingWindowFunctionTransformer |
Transform time series by applying a function over sliding windows. |