docstr: Create instances from the dataset which include two classes only.
docstr_tok: ["Create","instances","from","the","dataset","which","include","two","classes","only","."]
code: def get_instances(self) -> list[str]:
      """Create instances from the dataset which include two classes only."""
      return [
          f"{classA}-{classB}"
          for classA, classB in itertools.combinations(
              self._data.target_names, 2
          )
      ]
  
file_path: SMAC3/examples/2_multi_fidelity/2_sgd_datasets.py
imports: from __future__ import annotations
  import itertools
  import warnings
  import numpy
  from ConfigSpace import Categorical, Configuration, ConfigurationSpace, Float
  from sklearn import datasets
  from sklearn.linear_model import SGDClassifier
  from sklearn.model_selection import StratifiedKFold, cross_val_score
  from smac import MultiFidelityFacade
  from smac import Scenario
label_desc: Use image node_id 2 for calling the DigitsDataset obj's underlying member method code with example usage: obj.get_instances() and returns: unknown