code: def load_unit_data():
      """Load unit test data."""
      X_train, y_train = load_unit_test(split="train", return_X_y=True)
      X_test, y_test = load_unit_test(split="test", return_X_y=True)
      indices = np.random.RandomState(0).choice(
          len(y_train), 10, replace=False
      )
      return X_train, y_train, X_test, y_test, indices
  
file_path: sktime/sktime/classification/early_classification/tests/test_teaser.py
imports: import numpy
  import pytest
  from numpy import testing
  from sklearn.ensemble import IsolationForest
  from sktime.classification.early_classification._teaser import TEASER
  from sktime.classification.interval_based import TimeSeriesForestClassifier
  from sktime.datasets import load_unit_test
  from sktime.datatypes._panel._convert import from_nested_to_3d_numpy
  from sktime.tests.test_switch import run_test_for_class
label_desc: Use image node_id 1 for calling a global function with example usage: load_unit_data() and returns: X_train,  y_train,  X_test,  y_test,  indices