class_docstr: Decide to continue or not given the results so far.
  
  The optimization procedure will be stopped if the callback returns True.
class_docstr_tok: ["Decide","to","continue","or","not","given","the","results","so","far",".","The","optimization","procedure","will","be","stopped","if","the","callback","returns","True","."]
docstr: Parameters
  ----------
  result : `OptimizeResult`, scipy object
      The optimization as a OptimizeResult object.
docstr_tok: ["Parameters","--","--","--","--","--","result",":","`","OptimizeResult","`",",","scipy","object","The","optimization","as","a","OptimizeResult","object","."]
code: def __call__(self, result):
      """
      Parameters
      ----------
      result : `OptimizeResult`, scipy object
          The optimization as a OptimizeResult object.
      """
      return self._criterion(result)
  
imports: from time import time
  import numpy
  from skopt.utils import dump
label_desc: Use image node_id 1 for calling the EarlyStopper obj's underlying member method code with example usage: obj.__call__(result) and returns: self