scorepyo.exceptions#

Definition of the different classes for the Error management

Functions

NumericCheck()

Checks that a pandas Series has a numeric data type

Exceptions

MinPointOverMaxPointError

Error raised when min point value of ScoreCard model is over max point value

MissingColumnError

Error raised when column is missing in a pd.DataFrame

NegativeValueError

Error raised when quantity value is not a strictly positive float

NonBooleanValueError

Error raised when value is not boolean

NonIncreasingProbabilities

Error raised when list of probabilities returned by a calibrator is not increasing

NonIntegerValueError

Error raised when value is not an integer

NonProbabilityValues

Error raised when a probability value returned by a calibrator is not valid (between 0 and 1)