check_observe_predict_with_step_columns¶
yohou.testing.forecaster.check_observe_predict_with_step_columns(forecaster, y_train, X_actual_train, y_test, X_actual_test=None, X_future=None, X_forecast=None, forecasting_horizon=3)
¶
Check observe_predict works with step columns (lightweight).
Runs observe_predict with stride=len(y_test)//2 (2 iterations) and validates output structure.
Parameters¶
| Name | Type | Description | Default |
|---|---|---|---|
forecaster
|
BaseForecaster
|
Unfitted forecaster instance. |
required |
y_train
|
DataFrame
|
Training target data. |
required |
X_actual_train
|
DataFrame or None
|
Training features. |
required |
y_test
|
DataFrame
|
Test target data (at least 10 rows). |
required |
X_actual_test
|
DataFrame or None
|
Test features. |
None
|
X_future
|
DataFrame or None
|
None
|
|
X_forecast
|
DataFrame or None
|
External forecasts. |
None
|
forecasting_horizon
|
int
|
Number of steps ahead. |
3
|