check_panel_data¶
yohou.testing.check_panel_data(forecaster, y_panel)
¶
Check cross-learning with panel data predicts all groups by default.
Validates that when groups=None (default), predictions are generated for all groups in the panel data columns.
Parameters ¶
| Name | Type | Description | Default |
|---|---|---|---|
forecaster
|
BaseForecaster
|
Fitted forecaster with panel data |
required |
y_panel
|
DataFrame
|
Panel data with panel columns for testing |
required |
Raises ¶
| Type | Description |
|---|---|
AssertionError
|
If default prediction doesn't include all groups |