code: def print_metrics(self) -> None:
      print(f"Number of Examples = {self.num_examples}")
      print(f"Exact Matches = {self.exact_matches:.2f} %")
      print(f"Token Level F1 Score = {self.f1_score:.2f} %")
      print(
          f"Token Level F1 Score for positive examples = {self.f1_score_pos_only:.2f} %"
      )
      if self.classification_metrics:
          # this is NoneType if we ignore_impossible.
          print("======= Has Answer Classification Metrics =======")
          self.classification_metrics.print_metrics()
  
imports: from typing import NamedTuple
  from pytext.metrics import ClassificationMetrics
label_desc: Use image node_id 1 for calling the SquadMetrics obj's underlying member method code with example usage: obj.print_metrics() without return types