code: def print_metrics(self) -> None:
      print(f"Number of samples = {self.num_examples}")
      print(f"Accuracy = {self.accuracy * 100:.2f}")
      print(f"Average Rank = {self.average_rank}")
      print(f"Mean Reciprocal Rank = {self.mean_reciprocal_rank}")
  
imports: from typing import NamedTuple
label_desc: Use image node_id 1 for calling the DenseRetrievalMetrics obj's underlying member method code with example usage: obj.print_metrics() without return types