Get residuals for further analysis.
Function keeps hierarchy, features in result dataset and removes target components.
- Parameters:
-
- Returns:
TSDataset with residuals in forecasts
- Raises:
KeyError: – if segments of forecast_df
and ts
aren’t the same
- Return type:
TSDataset