module mlforecast.callbacks


class SaveFeatures

Saves the features in every timestamp.

method __init__

__init__()

method get_features

get_features(with_step: bool = False) → Union[DataFrame, pl_DataFrame]
Retrieves the input features for every timestep Args:
  • with_step (bool): Add a column indicating the step. Defaults to False.
Returns:
  • (pandas or polars DataFrame): DataFrame with input features