(self, run_id, nameserver=None, nameserver_port=None, logger=None, host=None, id=None, timeout=None)
Parameters
		----------
		run_id: anything with a __str__ method
			unique id to identify individual HpBandSter run
		nameserver: str
			hostname or IP of the nameserver
		nameserver_port: int
			port of the nameserver
		logger: logging.logger instance
			logger used for debugging output
		host: str
			hostname for this worker process
		id: anything with a __str__method
			if multiple workers are started in the same process, you MUST provide a unique id for each one of them using the `id` argument.
		timeout: int or float
			specifies the timeout a worker will wait for a new after finishing a computation before shutting down.
			Towards the end of a long run with multiple workers, this helps to shutdown idling workers. We recommend
			a timeout that is roughly half the time it would take for the second largest budget to finish.
			The default (None) means that the worker will wait indefinitely and never shutdown on its own.
Parameters
		----------
		run_id: anything with a __str__ method
			unique id to identify individual HpBandSter run
		nameserver: str
			hostname or IP of the nameserver
		nameserver_port: int
			port of the nameserver
		logger: logging.logger instance
			logger used for debugging output
		host: str
			hostname for this worker process
		id: anything with a __str__method
			if multiple workers are started in the same process, you MUST provide a unique id for each one of them using the `id` argument.
		timeout: int or float
			specifies the timeout a worker will wait for a new after finishing a computation before shutting down.
			Towards the end of a long run with multiple workers, this helps to shutdown idling workers. We recommend
			a timeout that is roughly half the time it would take for the second largest budget to finish.
			The default (None) means that the worker will wait indefinitely and never shutdown on its own.
Parameters ---------- run_id : anything with a __str__ method unique id to identify individual HpBandSter run nameserver : str hostname or IP of the nameserver nameserver_port : int port of the nameserver logger : logging . logger instance logger used for debugging output host : str hostname for this worker process id : anything with a __str__method if multiple workers are started in the same process you MUST provide a unique id for each one of them using the id argument . timeout : int or float specifies the timeout a worker will wait for a new after finishing a computation before shutting down . Towards the end of a long run with multiple workers this helps to shutdown idling workers . We recommend a timeout that is roughly half the time it would take for the second largest budget to finish . The default ( None ) means that the worker will wait indefinitely and never shutdown on its own .
def __init__(self, run_id, nameserver=None, nameserver_port=None, logger=None, host=None, id=None, timeout=None):
		"""
		
		Parameters
		----------
		run_id: anything with a __str__ method
			unique id to identify individual HpBandSter run
		nameserver: str
			hostname or IP of the nameserver
		nameserver_port: int
			port of the nameserver
		logger: logging.logger instance
			logger used for debugging output
		host: str
			hostname for this worker process
		id: anything with a __str__method
			if multiple workers are started in the same process, you MUST provide a unique id for each one of them using the `id` argument.
		timeout: int or float
			specifies the timeout a worker will wait for a new after finishing a computation before shutting down.
			Towards the end of a long run with multiple workers, this helps to shutdown idling workers. We recommend
			a timeout that is roughly half the time it would take for the second largest budget to finish.
			The default (None) means that the worker will wait indefinitely and never shutdown on its own.
		"""
		self.run_id = run_id
		self.host = host
		self.nameserver = nameserver
		self.nameserver_port = nameserver_port
		self.worker_id =  "hpbandster.run_%s.worker.%s.%i"%(self.run_id, socket.gethostname(), os.getpid())
		
		self.timeout = timeout
		self.timer = None
		
		
		if not id is None:
			self.worker_id +='.%s'%str(id)

		self.thread=None

		if logger is None:
			logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(message)s',  datefmt='%H:%M:%S')
			self.logger = logging.getLogger(self.worker_id)
		else:
			self.logger = logger

		self.busy = False
		self.thread_cond = threading.Condition(threading.Lock())
def __init__ ( self , run_id , nameserver = None , nameserver_port = None , logger = None , host = None , id = None , timeout = None ) : self . run_id = run_id self . host = host self . nameserver = nameserver self . nameserver_port = nameserver_port self . worker_id = "hpbandster.run_%s.worker.%s.%i" % ( self . run_id , socket . gethostname ( ) , os . getpid ( ) ) self . timeout = timeout self . timer = None if not id is None : self . worker_id += '.%s' % str ( id ) self . thread = None if logger is None : logging . basicConfig ( level = logging . DEBUG , format = '%(asctime)s %(message)s' , datefmt = '%H:%M:%S' ) self . logger = logging . getLogger ( self . worker_id ) else : self . logger = logger self . busy = False self . thread_cond = threading . Condition ( threading . Lock ( ) )