metrics package: to calculate advanced metrics for evaluting attacks and augmented text
- class textattack.metrics.metric.Metric(**kwargs)
A metric for evaluating Adversarial Attack candidates.
- abstract calculate(results)
Abstract function for computing any values which are to be calculated as a whole during initialization :param results: Attack results for each instance in dataset :type results: