docstr: Simple hill climbing optimization with some twists. 
docstr_tok: ["Simple","hill","climbing","optimization","with","some","twists","."]
code: def test_optimize(self):
      """Simple hill climbing optimization with some twists."""
  
      param_grid = {
          "x": [-1.0, 0.0, 1.0],
          "y": [-1.0, 0.0, 1.0],
          "z": [True, False],
      }
      args = {"m": 1.0}
  
      best_params, best_score, score_results, _, _ = maximize(
          func, param_grid, args, verbose=True
      )
      print("Score Results:\n{}".format(score_results))
      self.assertEqual(best_params, {"x": 0.0, "y": 0.0, "z": True})
      self.assertEqual(best_score, 2.0)
  
file_path: sklearn-deap/test.py
imports: from evolutionary_search import EvolutionaryAlgorithmSearchCV, maximize
  import sklearn.datasets
  import numpy
  from sklearn.model_selection import StratifiedKFold
  from sklearn.svm import SVC
  import unittest
  import random
label_desc: Use image node_id 2 for calling the TestEvolutionarySearch obj's underlying member method code with example usage: obj.test_optimize() without return types