check_reduction_strategy¶
yohou.testing.reduction.check_reduction_strategy(forecaster)
¶
Check reduction_strategy parameter is valid.
Parameters¶
| Name | Type | Description | Default |
|---|---|---|---|
forecaster
|
BaseReductionForecaster
|
Reduction forecaster instance |
required |
Raises¶
| Type | Description |
|---|---|
AssertionError
|
If reduction_strategy is invalid |