code: def print_process(self, results, nth_process):
      verbosity = self.verbosity
      objective_function = self.opt_pros[nth_process].objective_function
      search_space = self.opt_pros[nth_process].s_space.search_space
  
      search_data = results["search_data"]
  
      try:
          best_sample = search_data.iloc[search_data["score"].idxmax()]
  
      except TypeError:
          logging.warning(
              "Warning: Cannot index by location index with a non-integer key"
          )
  
      else:
          best_score = best_sample["score"]
          best_values = best_sample[list(search_space.keys())]
          best_para = dict(zip(list(search_space.keys()), best_values))
          best_additional_results_df = best_sample.drop(
              ["score"] + list(search_space.keys())
          )
          best_additional_results = best_additional_results_df.to_dict()
  
          best_iter = results["best_iter"]
          eval_times = results["eval_times"]
          iter_times = results["iter_times"]
          random_seed = results["random_seed"]
  
          n_iter = self.opt_pros[nth_process].n_iter
  
          eval_time = np.array(eval_times).sum()
          iter_time = np.array(iter_times).sum()
  
          if "print_results" in verbosity:
              self._print_results(
                  objective_function,
                  best_score,
                  best_para,
                  best_iter,
                  best_additional_results,
                  random_seed,
              )
  
          if "print_times" in verbosity:
              self._print_times(eval_time, iter_time, n_iter)
  
file_path: Hyperactive/hyperactive/print_results.py
imports: import logging
  import numpy
label_desc: Use image node_id 5 for calling the PrintResults obj's underlying member method code with example usage: obj.print_process(results, nth_process) without return types