evaluation

Classes

Evaluation

Module Contents

class evaluation.Evaluation(explanation)
Parameters:

explanation (rex_xai.explanation.explanation.Explanation)

explanation
ratio()

Returns percentage of data required for sufficient explanation

Return type:

float

spectral_entropy()

This code is a simplified version of https://github.com/raphaelvallat/antropy/blob/master/src/antropy/entropy.py

Return type:

Tuple[float, float]

responsibility_entropy()
robustness(lower=None, upper=None, repeats=2)
insertion_deletion_curve(prediction_func, normalise=False)
__batch(im, dm, prediction_func)