alibi_detect.exceptions

This module defines the Alibi Detect exception hierarchy and common exceptions used across the library.

AlibiDetectException

Inherits from: Exception, BaseException, ABC

Constructor

AlibiDetectException(self, message: str) -> None
Name
Type
Default
Description

message

str

The error message.

NotFittedError

Inherits from: AlibiDetectException, Exception, BaseException, ABC

Constructor

NotFittedError(self, object_name: str) -> None
Name
Type
Default
Description

object_name

str

The name of the unfit object.

ThresholdNotInferredError

Inherits from: AlibiDetectException, Exception, BaseException, ABC

Constructor

ThresholdNotInferredError(self, object_name: str) -> None
Name
Type
Default
Description

object_name

str

The name of the object that does not have a threshold fit.

Last updated

Was this helpful?