pymc_forecast.exceptions#
Exception taxonomy for pymc_forecast.
Every package-raised error derives from PymcForecastError, so callers
can catch the whole family with one clause. Specific subclasses exist where a
caller might plausibly branch on the failure mode.
- exception pymc_forecast.exceptions.AlignmentError[source]#
Bases:
PymcForecastError,ValueErrorData and covariates do not align along the time dimension.
- exception pymc_forecast.exceptions.BacktestWindowError[source]#
Bases:
PymcForecastError,ValueErrorBacktest windowing parameters admit no valid windows.
- exception pymc_forecast.exceptions.HorizonError[source]#
Bases:
PymcForecastError,ValueErrorThe train/forecast horizon could not be derived or is inconsistent.
- exception pymc_forecast.exceptions.MethodResolutionError[source]#
Bases:
PymcForecastError,ValueErrorA VI-method, optimizer, or sampler specification could not be resolved.
- exception pymc_forecast.exceptions.NotFittedError[source]#
Bases:
PymcForecastError,RuntimeErrorA predictive method was called on a forecaster that has not been fit.
- exception pymc_forecast.exceptions.OptionalDependencyError(package, extra, feature)[source]#
Bases:
PymcForecastError,ImportErrorAn optional dependency is required for the requested feature.