MODULE REFERENCE

encoders

anomx.data.processing.encoders

Time Axis Encoders

Encoders for converting time index information into features, supporting cyclic encoding, datetime attributes, integer indices, and custom callable encoders for both past and future covariates.

Public exports

Import these names directly from anomx.data.processing.encoders.

FutureCallableIndexEncoder

`IntegerIndexEncoder`: Adds integer index value (position) for future covariates derived from the underlying TimeSeries' time index.

FutureCyclicEncoder

`CyclicEncoder`: Cyclic encoding of future covariates datetime attributes.

FutureDatetimeAttributeEncoder

Datetime attribute encoder for future covariates.

FutureIntegerIndexEncoder

`IntegerIndexEncoder`: Adds integer index value (position) for future covariates derived from the underlying TimeSeries' time index.

PastCallableIndexEncoder

`IntegerIndexEncoder`: Adds integer index value (position) for past covariates derived from the underlying TimeSeries' time index.

PastCyclicEncoder

`CyclicEncoder`: Cyclic encoding of past covariates datetime attributes.

PastDatetimeAttributeEncoder

Datetime attribute encoder for past covariates.

PastIntegerIndexEncoder

`IntegerIndexEncoder`: Adds integer index value (position) for past covariates derived from the underlying TimeSeries' time index.

SequentialEncoder

A `SequentialEncoder` object can store and control multiple past and future covariates encoders at once. It provides the same functionality as single encoders (`encode_train()`, `encode_inference()`, `encode_train_inference()`).