docstr: instantiates the next iteration
  
  Overwrite this to change the iterations for different optimizers
  
  Parameters
  ----------
          iteration: int
                  the index of the iteration to be instantiated
          iteration_kwargs: dict
                  additional kwargs for the iteration class
  
  Returns
  -------
          HB_iteration: a valid HB iteration object
docstr_tok: ["instantiates","the","next","iteration","Overwrite","this","to","change","the","iterations","for","different","optimizers","Parameters","--","--","--","--","--","iteration",":","int","the","index","of","the","iteration","to","be","instantiated","iteration_kwargs",":","dict","additional","kwargs","for","the","iteration","class","Returns","--","--","--","-","HB_iteration",":","a","valid","HB","iteration","object"]
code: def get_next_iteration(self, iteration, iteration_kwargs):
      """
      instantiates the next iteration
  
      Overwrite this to change the iterations for different optimizers
  
      Parameters
      ----------
              iteration: int
                      the index of the iteration to be instantiated
              iteration_kwargs: dict
                      additional kwargs for the iteration class
  
      Returns
      -------
              HB_iteration: a valid HB iteration object
      """
  
      raise NotImplementedError(
          "implement get_next_iteration for %s" % (type(self).__name__)
      )
  
imports: import os
  import threading
  import time
  import math
  import pdb
  import copy
  import logging
  import numpy
  from hpbandster.core.dispatcher import Dispatcher
  from hpbandster.core.result import Result
  from hpbandster.core.base_iteration import WarmStartIteration
label_desc: Use image node_id 4 for calling the Master obj's underlying member method code with example usage: obj.get_next_iteration(iteration, iteration_kwargs) without return types