check_search_observe_delegates¶
yohou.testing.check_search_observe_delegates(search_cv, y_update, X_actual_update=None, X_future=None, X_forecast=None)
¶
Check observe() delegates to best_forecaster_.observe() correctly.
Parameters ¶
| Name | Type | Description | Default |
|---|---|---|---|
search_cv
|
BaseSearchCV
|
Fitted search CV instance |
required |
y_update
|
DataFrame
|
Update target data |
required |
X_actual_update
|
DataFrame
|
Update features |
None
|
X_future
|
DataFrame
|
Known-future features forwarded to observe() |
None
|
X_forecast
|
DataFrame
|
External forecast features forwarded to observe() |
None
|
Raises ¶
| Type | Description |
|---|---|
AssertionError
|
If observe() doesn't delegate correctly |