class_docstr: The config generator determines how new configurations are sampled. This can take very different levels of
  complexity, from random sampling to the construction of complex empirical prediction models for promising
  configurations.
class_docstr_tok: ["The","config","generator","determines","how","new","configurations","are","sampled",".","This","can","take","very","different","levels","of","complexity",",","from","random","sampling","to","the","construction","of","complex","empirical","prediction","models","for","promising","configurations","."]
docstr: function to sample a new configuration
  
  This function is called inside Hyperband to query a new configuration
  
  Parameters
  ----------
  budget: float
          the budget for which this configuration is scheduled
  
  returns: (config, info_dict)
          must return a valid configuration and a (possibly empty) info dict
docstr_tok: ["function","to","sample","a","new","configuration","This","function","is","called","inside","Hyperband","to","query","a","new","configuration","Parameters","--","--","--","--","--","budget",":","float","the","budget","for","which","this","configuration","is","scheduled","returns",":","(","config",",","info_dict",")","must","return","a","valid","configuration","and","a","(","possibly","empty",")","info","dict"]
code: def get_config(self, budget):
      """
      function to sample a new configuration
  
      This function is called inside Hyperband to query a new configuration
  
      Parameters
      ----------
      budget: float
              the budget for which this configuration is scheduled
  
      returns: (config, info_dict)
              must return a valid configuration and a (possibly empty) info dict
      """
      raise NotImplementedError(
          "This function needs to be overwritten in %s."
          % (self.__class__.__name__)
      )
  
imports: import logging
  import traceback
label_desc: Use image node_id 2 for calling the base_config_generator obj's underlying member method code with example usage: obj.get_config(budget) without return types