estimator.util.early_abort_range.__init__#

early_abort_range.__init__(start, stop=<MagicMock id='139637088872720'>, step=1, smallerf=<function early_abort_range.<lambda>>, suppress_bounds_warning=False, log_level=5)[source]#

Create a fresh local minimum search context.

Parameters
  • start – starting point

  • stop – end point (exclusive, optional)

  • step – step size

  • smallerf – a function to decide if lhs is smaller than rhs.

  • suppress_bounds_warning – do not warn if a boundary is picked as optimal