Skip to content

getml.feature_learning.aggregations

AVG module-attribute

AVG: Final[Avg] = 'AVG'

Average value of a given numerical column.

COUNT module-attribute

COUNT: Final[Count] = 'COUNT'

Number of rows in a given column.

COUNT_DISTINCT module-attribute

COUNT_DISTINCT: Final[CountDistinct] = 'COUNT DISTINCT'

Count function with distinct clause. This only counts unique elements.

COUNT_DISTINCT_OVER_COUNT module-attribute

COUNT_DISTINCT_OVER_COUNT: Final[CountDistinctOverCount] = (
    "COUNT DISTINCT OVER COUNT"
)

COUNT DISTINCT divided by COUNT. Please note that this aggregation is not supported by Multirel.

COUNT_MINUS_COUNT_DISTINCT module-attribute

COUNT_MINUS_COUNT_DISTINCT: Final[
    CountMinusCountDistinct
] = "COUNT MINUS COUNT DISTINCT"

Counts minus counts distinct. Substracts COUNT DISTINCT from COUNT.

EWMA_1D module-attribute

EWMA_1D: Final[EWMA_1d] = 'EWMA_1D'

Exponentially weighted moving average with a half-life of 1 day. Please note that this aggregation is not supported by Multirel.

EWMA_1H module-attribute

EWMA_1H: Final[EWMA_1h] = 'EWMA_1H'

Exponentially weighted moving average with a half-life of 1 hour. Please note that this aggregation is not supported by Multirel.

EWMA_1M module-attribute

EWMA_1M: Final[EWMA_1m] = 'EWMA_1M'

Exponentially weighted moving average with a half-life of 1 minute. Please note that this aggregation is not supported by Multirel.

EWMA_1S module-attribute

EWMA_1S: Final[EWMA_1s] = 'EWMA_1S'

Exponentially weighted moving average with a half-life of 1 second.

EWMA_7D module-attribute

EWMA_7D: Final[EWMA_7d] = 'EWMA_7D'

Exponentially weighted moving average with a half-life of 7 days. Please note that this aggregation is not supported by Multirel.

EWMA_30D module-attribute

EWMA_30D: Final[EWMA_30d] = 'EWMA_30D'

Exponentially weighted moving average with a half-life of 30 days. Please note that this aggregation is not supported by Multirel.

EWMA_90D module-attribute

EWMA_90D: Final[EWMA_90d] = 'EWMA_90D'

Exponentially weighted moving average with a half-life of 90 days. Please note that this aggregation is not supported by Multirel.

EWMA_365D module-attribute

EWMA_365D: Final[EWMA_365d] = 'EWMA_365D'

Exponentially weighted moving average with a half-life of 365 days. Please note that this aggregation is not supported by Multirel.

EWMA_TREND_1D module-attribute

EWMA_TREND_1D: Final[EWMA_TREND_1d] = 'EWMA_TREND_1D'

Exponentially weighted trend with a half-life of 1 day. Please note that this aggregation is not supported by Multirel.

EWMA_TREND_1H module-attribute

EWMA_TREND_1H: Final[EWMA_TREND_1h] = 'EWMA_TREND_1H'

Exponentially weighted trend with a half-life of 1 hour. Please note that this aggregation is not supported by Multirel.

EWMA_TREND_1M module-attribute

EWMA_TREND_1M: Final[EWMA_TREND_1m] = 'EWMA_TREND_1M'

Exponentially weighted trend with a half-life of 1 minute. Please note that this aggregation is not supported by Multirel.

EWMA_TREND_1S module-attribute

EWMA_TREND_1S: Final[EWMA_TREND_1s] = 'EWMA_TREND_1S'

Exponentially weighted trend with a half-life of 1 second.

EWMA_TREND_7D module-attribute

EWMA_TREND_7D: Final[EWMA_TREND_7d] = 'EWMA_TREND_7D'

Exponentially weighted trend with a half-life of 7 days. Please note that this aggregation is not supported by Multirel.

EWMA_TREND_30D module-attribute

EWMA_TREND_30D: Final[EWMA_TREND_30d] = 'EWMA_TREND_30D'

Exponentially weighted trend with a half-life of 30 days. Please note that this aggregation is not supported by Multirel.

EWMA_TREND_90D module-attribute

EWMA_TREND_90D: Final[EWMA_TREND_90d] = 'EWMA_TREND_90D'

Exponentially weighted trend with a half-life of 90 days. Please note that this aggregation is not supported by Multirel.

EWMA_TREND_365D module-attribute

EWMA_TREND_365D: Final[EWMA_TREND_365d] = 'EWMA_TREND_365D'

Exponentially weighted trend with a half-life of 365 days. Please note that this aggregation is not supported by Multirel.

FIRST module-attribute

FIRST: Final[First] = 'FIRST'

First value of a given column, when ordered by the time stamp.

KURTOSIS module-attribute

KURTOSIS: Final[Kurtosis] = 'KURTOSIS'

The kurtosis of a given column. Please note that this aggregation is not supported by Multirel.

LAST module-attribute

LAST: Final[Last] = 'LAST'

Last value of a given column, when ordered by the time stamp.

MAX module-attribute

MAX: Final[Max] = 'MAX'

Largest value of a given column.

MEDIAN module-attribute

MEDIAN: Final[Median] = 'MEDIAN'

Median of a given column.

MIN module-attribute

MIN: Final[Min] = 'MIN'

Smallest value of a given column.

MODE module-attribute

MODE: Final[Mode] = 'MODE'

Most frequent value of a given column. Please note that this aggregation is not supported by Multirel.

NUM_MAX module-attribute

NUM_MAX: Final[NumMax] = 'NUM MAX'

The number of times we observe the maximum value. Please note that this aggregation is not supported by Multirel.

NUM_MIN module-attribute

NUM_MIN: Final[NumMin] = 'NUM MIN'

The number of times we observe the minimum value. Please note that this aggregation is not supported by Multirel.

Q_1 module-attribute

Q_1: Final[Q1] = 'Q1'

The 1%-quantile. Please note that this aggregation is not supported by Multirel.

Q_5 module-attribute

Q_5: Final[Q5] = 'Q5'

The 5%-quantile. Please note that this aggregation is not supported by Multirel.

Q_10 module-attribute

Q_10: Final[Q10] = 'Q10'

The 10%-quantile. Please note that this aggregation is not supported by Multirel.

Q_25 module-attribute

Q_25: Final[Q25] = 'Q25'

The 25%-quantile. Please note that this aggregation is not supported by Multirel.

Q_75 module-attribute

Q_75: Final[Q75] = 'Q75'

The 75%-quantile. Please note that this aggregation is not supported by Multirel.

Q_90 module-attribute

Q_90: Final[Q90] = 'Q90'

The 90%-quantile. Please note that this aggregation is not supported by Multirel.

Q_95 module-attribute

Q_95: Final[Q95] = 'Q95'

The 95%-quantile. Please note that this aggregation is not supported by Multirel.

Q_99 module-attribute

Q_99: Final[Q99] = 'Q99'

The 99%-quantile. Please note that this aggregation is not supported by Multirel.

SKEW module-attribute

SKEW: Final[Skew] = 'SKEW'

Skewness of a given column. Please note that this aggregation is not supported by Multirel.

STDDEV module-attribute

STDDEV: Final[Stddev] = 'STDDEV'

Standard deviation of a given column.

SUM module-attribute

SUM: Final[Sum] = 'SUM'

Total sum of a given numerical column.

TIME_SINCE_FIRST_MAXIMUM module-attribute

TIME_SINCE_FIRST_MAXIMUM: Final[TimeSinceFirstMaximum] = (
    "TIME SINCE FIRST MAXIMUM"
)

The time difference between the first time we see the maximum value and the time stamp in the population table. Please note that this aggregation is not supported by Multirel.

TIME_SINCE_FIRST_MINIMUM module-attribute

TIME_SINCE_FIRST_MINIMUM: Final[TimeSinceFirstMinimum] = (
    "TIME SINCE FIRST MINIMUM"
)

The time difference between the first time we see the minimum value and the time stamp in the population table. Please note that this aggregation is not supported by Multirel.

TIME_SINCE_LAST_MAXIMUM module-attribute

TIME_SINCE_LAST_MAXIMUM: Final[TimeSinceLastMaximum] = (
    "TIME SINCE LAST MAXIMUM"
)

The time difference between the last time we see the maximum value and the time stamp in the population table. Please note that this aggregation is not supported by Multirel.

TIME_SINCE_LAST_MINIMUM module-attribute

TIME_SINCE_LAST_MINIMUM: Final[TimeSinceLastMinimum] = (
    "TIME SINCE LAST MINIMUM"
)

The time difference between the last time we see the minimum value and the time stamp in the population table. Please note that this aggregation is not supported by Multirel.

TREND module-attribute

TREND: Final[Trend] = 'TREND'

Extracts a linear trend from a variable over time and extrapolates this trend to the current time stamp. Please note that this aggregation is not supported by Multirel.

VAR module-attribute

VAR: Final[Var] = 'VAR'

Statistical variance of a given numerical column. Please note that this aggregation is not supported by Multirel.

VARIATION_COEFFICIENT module-attribute

VARIATION_COEFFICIENT: Final[VariationCoefficient] = (
    "VARIATION COEFFICIENT"
)

VAR divided by MEAN. Please note that this aggregation is not supported by Multirel.

AGGREGATIONS module-attribute

Set of all possible aggregations.

FASTPROP module-attribute

Set of default aggregations for FastProp. all contains all aggregations supported by FastProp, default contains the subset of reasonable default aggregations, minimal is minimal set.

MAPPING module-attribute

MAPPING = MappingAggregationsSets(
    all=MAPPING_AGGREGATIONS,
    default=frozenset({AVG}),
    minimal=frozenset({AVG}),
)

Set of default aggregations for Mapping. all contains all aggregations supported by the mapping preprocessor. default and minimal are identical and include only the AVG aggregation, which is the recommended setting for classification problems.

MAPPING_AGGREGATIONS module-attribute

Set of all aggregations supported by the mapping preprocessor.

MULTIREL module-attribute

MULTIREL = MultirelAggregationsSets(
    all=MULTIREL_AGGREGATIONS,
    default=frozenset({AVG, COUNT, MAX, MIN, SUM}),
    minimal=frozenset([AVG, COUNT, SUM]),
)

Set of default aggregations for Multirel. all contains all aggregations supported by Multirel, default contains the subset of reasonable default aggregations, minimal is minimal set.

MULTIREL_AGGREGATIONS module-attribute

Set of all aggregations supported by Multirel.