def compute_key_value(self) -> Dict[str, float]:
        """
        Return accumulated statistics

        Returns:
            dict of statistics

        Examples:
            >>> {"tp": np.array([1, 2, 1]), "fp": np.array([2, 1, 0]), ...}

        """
        result = self.compute()
        return {k: result[k] for k in sorted(result.keys())}

        Return accumulated statistics

        Returns:
            dict of statistics

        Examples:
            >>> {"tp": np.array([1, 2, 1]), "fp": np.array([2, 1, 0]), ...}

        
catalyst/metrics/_classification.py