class_docstr: Analyze results of machine learning experiments.
docstr: Get old format back, to be deprecated.
docstr_tok: ["Get","old","format","back",",","to","be","deprecated","."]
code: def _get_metrics_per_estimator_dataset(self, metric_name):
      """Get old format back, to be deprecated."""
      # TODO deprecate in favor of new pandas data frame based data
      #  representation
      column = f"{metric_name}_mean"
      df = self.metrics_by_strategy_dataset.loc[
          :, ["strategy", "dataset", column]
      ].set_index("strategy")
      d = {}
      for strategy in df.index:
          val = df.loc[strategy, column].tolist()
          val = [val] if not isinstance(val, list) else val
          d[strategy] = val
      return d
  
imports: import itertools
  import numpy
  import pandas
  from scipy import stats
  from scipy.stats import ranksums, ttest_ind
  from sktime.benchmarking.base import BaseResults
  from sktime.exceptions import NotEvaluatedError
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 21 for calling the Evaluator obj's underlying member method code with example usage: obj._get_metrics_per_estimator_dataset(metric_name) and returns: d