code: def _generate_linear_classification_data(
      num_samples: int, noise_std: float
  ):
      X, y, _ = _generate_linear_data(num_samples, noise_std)
  
      y = y > np.median(y)
  
      return X, y.astype(str)
  
file_path: dowhy/tests/gcm/ml/test_autogluon.py
imports: import tempfile
  import numpy
  from flaky import flaky
  from pytest import approx, importorskip, mark
  from sklearn.model_selection import train_test_split
  from dowhy.gcm.causal_mechanisms import AdditiveNoiseModel, ClassifierFCM
  from dowhy.gcm.ml.autogluon import AutoGluonClassifier, AutoGluonRegressor
  from dowhy.gcm.util.general import shape_into_2d
label_desc: Use image node_id 6 for calling a global function with example usage: _generate_linear_classification_data(num_samples, noise_std) and returns: X,  y