class_docstr: Average precision metric.
docstr: :return: Formated string representation of the metric.
docstr_tok: [":","return",":","Formated","string","representation","of","the","metric","."]
code: def __repr__(self) -> str:
      """:return: Formated string representation of the metric."""
      return f"{self.ALIAS[0]}({self._threshold})"
  
imports: import numpy
  from matchzoo.engine import base_metric
  from .None import Precision
label_desc: Use image node_id 2 for calling the AveragePrecision obj's underlying member method code with example usage: obj.__repr__() and returns: self, str, self, str