code: def run(
      minimizer,
      initial_point_generator,
      n_initial_points=10,
      n_repeats=1,
  ):
      return [
          minimizer(
              func,
              bounds,
              n_initial_points=n_initial_points,
              initial_point_generator=initial_point_generator,
              n_calls=n_calls,
              random_state=n,
          )
          for n in range(n_repeats)
      ]
  
file_path: scikit-optimize/examples/sampler/sampling_comparison.py
imports: import numpy
  import matplotlib.pyplot
  from skopt.benchmarks import hart6
  from skopt.benchmarks import branin
  from matplotlib.pyplot import cm
  import time
  from skopt import gp_minimize, forest_minimize, dummy_minimize
  from functools import partial
  from skopt.utils import cook_initial_point_generator
label_desc: Use image node_id 4 for calling a global function with example usage: run(minimizer, initial_point_generator, n_initial_points, n_repeats) and returns: unknown