code: def _generate_random_data(labels):
      random.seed(42)
  
      # Generate some random data
      x, y = [], []
      for _ in range(100):
          x.append([random.gauss(2, 3), random.gauss(-1, 2)])
          y.append(random.choice(labels))
      return x, y
  
file_path: coremltools/coremltools/test/sklearn_tests/test_glm_classifier.py
imports: import itertools
  import random
  import unittest
  import pandas
  from coremltools._deps import _HAS_SKLEARN
  from coremltools.converters.sklearn import convert
  from coremltools.models.utils import _is_macos, _macos_version, evaluate_classifier, evaluate_classifier_with_probabilities
label_desc: Use image node_id 3 for calling the GlmCassifierTest obj's underlying member method code with example usage: obj._generate_random_data(labels) and returns: x,  y