code: def main():
      random.seed(318)
  
      pop = toolbox.population(n=300)
      hof = tools.HallOfFame(1)
  
      stats_fit = tools.Statistics(lambda ind: ind.fitness.values)
      stats_size = tools.Statistics(len)
      mstats = tools.MultiStatistics(fitness=stats_fit, size=stats_size)
      mstats.register("avg", numpy.mean)
      mstats.register("std", numpy.std)
      mstats.register("min", numpy.min)
      mstats.register("max", numpy.max)
  
      pop, log = gp.harm(
          pop,
          toolbox,
          0.5,
          0.1,
          40,
          alpha=0.05,
          beta=10,
          gamma=0.25,
          rho=0.9,
          stats=mstats,
          halloffame=hof,
          verbose=True,
      )
      # print log
      return pop, log, hof
  
file_path: deap/examples/gp/symbreg_harm.py
imports: import operator
  import math
  import random
  import numpy
  from deap import algorithms
  from deap import base
  from deap import creator
  from deap import tools
  from deap import gp
label_desc: Use image node_id 3 for calling a global function with example usage: main() and returns: pop,  log,  hof