evaluation.evaluate()
Refit model at every origin of splitter and score its forecasts.
Usage
evaluation.evaluate(
model,
y,
X=None,
*,
splitter=None,
metrics=DEFAULT_METRICS,
levels=DEFAULT_LEVELS
)Parameters
model: Any-
A model form (
models.get("ols")()), its key, or a ModelSpec. y: pd.Series-
The target and the drivers, as fit takes them. The forecast at each origin uses the drivers’ actual values over the test periods.
X: pd.Series-
The target and the drivers, as fit takes them. The forecast at each origin uses the drivers’ actual values over the test periods.
splitter: Any = None-
A splitter, or its key; default
expandingwith one-step folds. metrics: Sequence[Any] = DEFAULT_METRICS-
Metrics or their keys. MASE divides each fold’s errors by that fold’s training scale; coverage scores the interval at its
level, which must be amonglevels. levels: Sequence[float] = DEFAULT_LEVELS- The interval levels forecast at every origin.