class_docstr: Stop the optimization before running out of a fixed budget of time.
  
  Attributes
  ----------
  iter_time : list, shape (n_iter,)
      `iter_time[i-1]` gives the time taken to complete iteration `i`
  
  Parameters
  ----------
  total_time : float
      fixed budget of time (seconds) that the optimization must
      finish within.
class_docstr_tok: ["Stop","the","optimization","before","running","out","of","a","fixed","budget","of","time",".","Attributes","--","--","--","--","--","iter_time",":","list",",","shape","(","n_iter",",",")","`","iter_time","[","i-1","]","`","gives","the","time","taken","to","complete","iteration","`","i","`","Parameters","--","--","--","--","--","total_time",":","float","fixed","budget","of","time","(","seconds",")","that","the","optimization","must","finish","within","."]
code: def __init__(self, total_time):
      super(DeadlineStopper, self).__init__()
      self._time = time()
      self.iter_time = []
      self.total_time = total_time
  
imports: from time import time
  import numpy
  from guild._skopt.utils import dump
label_desc: Use image node_id 1 to create a new DeadlineStopper object from inherited base classes: EarlyStopper with example: obj = DeadlineStopper(total_time)