> ## Documentation Index
> Fetch the complete documentation index at: https://nixtla-old-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Callbacks

***

<a href="https://github.com/Nixtla/mlforecast/blob/main/mlforecast/callbacks.py#L15" target="_blank" style={{ float: "right", fontSize: "smaller" }}>source</a>

### SaveFeatures

> ```text theme={null}
>  SaveFeatures ()
> ```

*Saves the features in every timestamp.*

***

<a href="https://github.com/Nixtla/mlforecast/blob/main/mlforecast/callbacks.py#L25" target="_blank" style={{ float: "right", fontSize: "smaller" }}>source</a>

### SaveFeatures.get\_features

> ```text theme={null}
>  SaveFeatures.get_features (with_step:bool=False)
> ```

*Retrieves the input features for every timestep*

|             | **Type**  | **Default** | **Details**                       |
| ----------- | --------- | ----------- | --------------------------------- |
| with\_step  | bool      | False       | Add a column indicating the step  |
| **Returns** | **Union** |             | **DataFrame with input features** |
