ferret.Benchmark.show_samples_evaluation_table#

Benchmark.show_samples_evaluation_table(evaluation_scores_by_explainer, apply_style: bool = True) DataFrame[source]#

Format average evaluation scores into a colored table.

Parameters:

evaluation_scores_by_explainer (Dict) – the average evaluation scores and their standard deviation for each explainer (output of the evaluate_samples function) apply_style (bool): color the table of average evaluation scores

Returns:

a colored (styled) pandas dataframe of average evaluation scores of explanations of a sample

Return type:

pd.DataFrame