class_docstr: A metric for evaluating results and data quality.
class_docstr_tok: ["A","metric","for","evaluating","results","and","data","quality","."]
docstr: Abstract function for computing any values which are to be calculated as a whole during initialization
  Args:
      results (``AttackResult`` objects):
              Attack results for each instance in dataset
docstr_tok: ["Abstract","function","for","computing","any","values","which","are","to","be","calculated","as","a","whole","during","initialization","Args",":","results","(","``","AttackResult","``","objects",")",":","Attack","results","for","each","instance","in","dataset"]
code: def calculate(self, results):
      """Abstract function for computing any values which are to be calculated as a whole during initialization
      Args:
          results (``AttackResult`` objects):
                  Attack results for each instance in dataset
      """
  
      raise NotImplementedError
  
imports: from abc import ABC, abstractmethod
label_desc: Use image node_id 2 for calling the Metric obj's underlying member method code with example usage: obj.calculate(results) without return types