actableai.exceptions package

Submodules

actableai.exceptions.models module

exception actableai.exceptions.models.InvalidPositiveLabelError(positive_label: str, *args)

Bases: KeyError

Exception representing a positive label which does not exist.

exception actableai.exceptions.models.InvalidTaskIdError

Bases: KeyError

Exception representing invalid task id when doing model inference.

exception actableai.exceptions.models.MissingFeaturesError(missing_features: List[str], *args)

Bases: KeyError

Exception representing missing features when doing model inference.

exception actableai.exceptions.models.UnknownModelClassError

Bases: Exception

Exception representing a Model being loaded corresponding to no known Model

actableai.exceptions.timeseries module

exception actableai.exceptions.timeseries.InvalidFrequencyException

Bases: ValueError

Exception representing an invalid frequency.

exception actableai.exceptions.timeseries.UntrainedModelException

Bases: ValueError

Exception representing an untrained model.

Module contents