(self)
return(None)
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!
Find the config_id of the incumbent.
Find the config_id of the incumbent .
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)
def get_incumbent_id ( self ) : 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 )