check_search_panel_data¶
yohou.testing.check_search_panel_data(search_cv, y_test, groups=None, X_future=None, X_forecast=None)
¶
Check groups parameter propagates correctly.
Parameters ¶
| Name | Type | Description | Default |
|---|---|---|---|
search_cv
|
BaseSearchCV
|
Fitted search CV instance with panel data |
required |
y_test
|
DataFrame
|
Test target data with panel groups |
required |
groups
|
list of str
|
Panel group names to test |
None
|
X_future
|
DataFrame
|
Known-future features forwarded to predict() |
None
|
X_forecast
|
DataFrame
|
External forecast features forwarded to predict() |
None
|
Raises ¶
| Type | Description |
|---|---|
AssertionError
|
If groups doesn't propagate correctly |