mlnext.pipeline#

Module for data preprocessing.

Classes

Clip

Transformer that clips values by a lower and upper bound.

ClippingMinMaxScaler

Normalizes the fitted data to the interval feature_range.

ColumnDropper

Transformer to drop a list of columns by their name.

ColumnRename

Transformer to rename column with a function.

ColumnSelector

Transformer to select a list of columns by their name.

ColumnSorter

Sorts the dataframe in the same order as the fitted dataframe.

ColumnTSMapper

ConditionedDropper

Module to drop rows in column that contain numeric values and are above threshold.

DateExtractor

Drops rows that are not between a start and end date.

DatetimeTransformer

Transforms a list of columns to datetime.

DifferentialCreator

Calculates signal differences between subsequent time points.

Fill

Fills NA values with a constant or 'bfill' / 'ffill'.

NaDropper

Transformer that drops rows with na values.

NumericTransformer

Transforms a list of columns to numeric datatype.

SignalSorter

Sorts the signals into continuous and binary signals.

Sorter

Sorts the dataframe by a list of columns.

TimeOffsetTransformer

TimeOffsetTransformer offsets a datetime by timedelta.

TimeframeExtractor

Drops sampes that are not between a given start and end time.

ValueMapper

Maps values in column according to classes.

ZeroVarianceDropper

Removes all columns that are numeric and have zero variance.