ferret.AOPC_Comprehensiveness_Evaluation#

class ferret.AOPC_Comprehensiveness_Evaluation(model, tokenizer, task_name)[source]#
__init__(model, tokenizer, task_name)#

Methods

__init__(model, tokenizer, task_name)

compute_evaluation(explanation, ...)

Evaluate an explanation on the AOPC Comprehensiveness metric.

Attributes

BEST_VALUE

LOWER_IS_BETTER

MAX_VALUE

METRIC_FAMILY

MIN_VALUE

NAME

SHORT_NAME

tokenizer