code: def generateES(icls, scls, size, imin, imax, smin, smax):
      ind = icls(random.uniform(imin, imax) for _ in range(size))
      ind.strategy = scls(
          random.uniform(smin, smax) for _ in range(size)
      )
      return ind
  
file_path: deap/examples/es/fctmin.py
imports: import array
  import random
  import numpy
  from deap import algorithms
  from deap import base
  from deap import benchmarks
  from deap import creator
  from deap import tools
label_desc: Use image node_id 1 for calling a global function with example usage: generateES(icls, scls, size, imin, imax, smin, smax) and returns: ind