class_docstr: Compute metric pairwise.
  
  Parameters
  ----------
  func : function
      Function that computes the pairwise metric.
  
  name : str
      Name of the metric
docstr: Compute metric and standard error.
code: def compute(self, y_true, y_pred):
      """Compute metric and standard error."""
      # compute mean
      mean = self.func(y_true, y_pred)
  
      # compute stderr based on pairwise metrics
      n_instances = len(y_true)
      pointwise_metrics = np.array(
          [
              self.func([y_true[i]], [y_pred[i]])
              for i in range(n_instances)
          ]
      )
      stderr = np.std(pointwise_metrics) / np.sqrt(
          n_instances - 1
      )  # sample standard error of the mean
  
      return mean, stderr
  
file_path: sktime/sktime/benchmarking/metrics.py
imports: import numpy
  from sktime.benchmarking.base import BaseMetric
label_desc: Use image node_id 2 for calling the PairwiseMetric obj's underlying member method code with example usage: obj.compute(y_true, y_pred) and returns: mean,  stderr