multi_explanation¶
generate multiple explanations from a responsibility landscape <pixel_ranking>
Classes¶
Module Contents¶
- class multi_explanation.MultiExplanation(maps, prediction_func, data, args, run_stats)¶
Bases:
rex_xai.explanation.explanation.Explanation- explanations = []¶
- explanation_confidences = []¶
- save(path, mask=None, clauses=None, multi_style=None)¶
- show(multi_style=None, clauses=None)¶
- extract()¶
- __dice(d1, d2)¶
calculates dice coefficient between two numpy arrays of the same dimensions
- __random_step_from(origin, width, height, step=5)¶
- __random_location()¶
- spotlight_search(origin=None)¶