gaitmap.data_transform: Scaler and Feature Transforms for IMU data#
Classes representing data transformations as preprocessing for different algorithms.
Base classes#
Base class for all data transformers. |
|
Base class for all filters. |
|
Mixin for transformers with adaptable parameters. |
Higher-level Transformers#
|
Apply specific transformations to specific groups of columns. |
|
Apply a series of transformations to the input. |
|
Apply multiple different transformation to the input, resulting in multiple outputs. |
Simple Transformers and Scalers#
Dummy Transformer that does not modify the data and simply returns a copy of the input. |
|
|
Apply a fixed scaling and offset to the data. |
|
Apply a standard scaling to the data. |
|
Apply a standard scaling to the data. |
|
Scale data by its absolute maximum. |
|
Scale data by the absolut max of a trainings sequence. |
|
Scale the data by its Min-Max values. |
|
Scale the data by Min-Max values learned from trainings data. |
Feature Transformers#
|
Resample a time series using the scipy resample method. |
Baseclass for all Sliding window feature transforms. |
|
|
Calculate a sliding window mean. |
|
Calculate a sliding window variance. |
|
Calculate a sliding window standard deviation. |
|
Calculate a sliding gradient by fitting a linear function on every sliding window. |
Filter#
|
Apply a forward-backward (filtfilt) butterworth filter using the transformer interface. |