check_coverage_rates_parameter¶
yohou.testing.check_coverage_rates_parameter(forecaster)
¶
Check fit_coverage_rates_ fitted attribute is a non-empty list of floats in [0, 1].
Inspects the post-fit resolved fit_coverage_rates_ attribute (the
constructor coverage_rates param may be None and is resolved to a
concrete list during fit), not the constructor argument.
Parameters ¶
| Name | Type | Description | Default |
|---|---|---|---|
forecaster
|
BaseIntervalForecaster
|
Interval forecaster instance |
required |
Raises ¶
| Type | Description |
|---|---|
AssertionError
|
If fit_coverage_rates_ is missing or invalid |