    def get_metric(self, reset: bool = False) -> Dict[str, float]:
        """
        # Returns

        precision : `float`
        recall : `float`
        f1-measure : `float`
        """
        metric = super().get_metric(reset=reset)
        # Because we just care about the class `positive_label`
        # there is just one item in `precision`, `recall`, `fscore`
        precision = metric["precision"][0]
        recall = metric["recall"][0]
        f1 = metric["fscore"][0]
        return {"precision": precision, "recall": recall, "f1": f1}
# Returns

precision : `float`
recall : `float`
f1-measure : `float`
allennlp/training/metrics/f1_measure.py