def compute_key_value(self) -> Dict[str, float]:
        """
        Compute metrics with all accumulated statistics

        Returns:
            dict of metrics

        """
        precision_value, recall_value, f1_value = self.compute()
        kv_metrics = self._convert_metrics_to_kv(
            precision_value=precision_value, recall_value=recall_value, f1_value=f1_value
        )
        return kv_metrics

        Compute metrics with all accumulated statistics

        Returns:
            dict of metrics

        
catalyst/metrics/_classification.py