check_point_prediction_structure¶
yohou.testing.point.check_point_prediction_structure(forecaster, y_test, X_actual_test=None)
¶
Check point predictions have correct column structure.
Parameters¶
| Name | Type | Description | Default |
|---|---|---|---|
forecaster
|
BasePointForecaster
|
Fitted point forecaster instance |
required |
y_test
|
DataFrame
|
Test target data |
required |
X_actual_test
|
DataFrame
|
Test features |
None
|
Raises¶
| Type | Description |
|---|---|
AssertionError
|
If prediction structure is incorrect |