class_docstr: Object returned by the HB_master.run function
  
  This class offers a simple API to access the information from
  a Hyperband run.
class_docstr_tok: ["Object","returned","by","the","HB_master.run","function","This","class","offers","a","simple","API","to","access","the","information","from","a","Hyperband","run","."]
docstr: Find the config_id of the incumbent.
  
  The incumbent here is the configuration with the smallest loss
  among all runs on the maximum budget! If no run finishes on the
  maximum budget, None is returned!
docstr_tok: ["Find","the","config_id","of","the","incumbent",".","The","incumbent","here","is","the","configuration","with","the","smallest","loss","among","all","runs","on","the","maximum","budget","!","If","no","run","finishes","on","the","maximum","budget",",","None","is","returned","!"]
code: def get_incumbent_id(self):
      """
      Find the config_id of the incumbent.
  
      The incumbent here is the configuration with the smallest loss
      among all runs on the maximum budget! If no run finishes on the
      maximum budget, None is returned!
      """
      tmp_list = []
      for k, v in self.data.items():
          try:
              # only things run for the max budget are considered
              res = v.results[self.HB_config["max_budget"]]
              if not res is None:
                  tmp_list.append((res["loss"], k))
          except KeyError as e:
              pass
          except:
              raise
  
      if len(tmp_list) > 0:
          return min(tmp_list)[1]
      return None
  
imports: import copy
  import os
  import json
  from hpbandster.core.base_iteration import Datum
label_desc: Use image node_id 3 for calling the Result obj's underlying member method code with example usage: obj.get_incumbent_id() and returns: None, min