Custom Errors#
- exception cxplain.errors.XkmError#
Generic error for the cxplain package, please don’t raise this error directly as it is too generic
- exception cxplain.errors.NotFittedError#
Raised if an input of a calculation step hasn’t been calculated before.
- exception cxplain.errors.NonExistingRelevanceError#
Raise if a special kind of relevance isn’t available for specified explainer method.
- exception cxplain.errors.NonExsitingXkmFlavourError#
Raise if a xkm flavour is chosen, which doesn’t exist.
- exception cxplain.errors.InconsistentNamingError#
Raise if number of feature names is not equal to number of features.
- exception cxplain.errors.MetricError#
Generic error for everything that has to do with metrics.
- exception cxplain.errors.MetricNotImplementedError#
Raise if a metric that is not yet impelemented should be used.