code: def random_state():
      random_state = random.randint(0, 1e6)
      with logger.set_level(logger.level_debug):
          logger.debug("Random seed: {}".format(random_state))
      return random_state
  
imports: from cuml.internals.safe_imports import gpu_only_import
  from sklearn.preprocessing import StandardScaler
  from sklearn.metrics import adjusted_rand_score
  from sklearn import cluster
  from cuml.testing.utils import get_pattern, unit_param, quality_param, stress_param, array_equal
  from cuml.datasets import make_blobs
  import pytest
  import random
  import cuml
  import cuml.internals.logger
  from cuml.internals.safe_imports import cpu_only_import
label_desc: Use image node_id 2 for calling a global function with example usage: random_state() and returns: random_state