rekall.tuner.hyperband module

This module performs a hyperband search over the search space.

class rekall.tuner.hyperband.HyperbandTuner(search_space, eval_fn, maximize=True, budget=500, log=False, log_dir=None, run_dir=None, run_name=None, start_config=None, start_score=None, score_fn=<function Tuner.<lambda>>, score_log_fn=<function Tuner.<lambda>>, num_workers=1, show_loading=True)

Bases: rekall.tuner.tuner.Tuner

This tuner performs a hyperband search over the search space.

See https://arxiv.org/abs/1603.06560.

classmethod estimate_cost(schedule)
classmethod finite_horizon_hyperband_schedule(max_iter, eta)
tune_impl(**kwargs)

Implement hyperband search over parameter space, with a given tuner to train iterations.

See finite_horizon_hyperband_schedule to print out the schedule for given values of max_iter and eta.

Parameters:
  • max_iter – Maximum number of iterations.
  • eta – Proportion of configs to cut in each round of successive halving.
  • tunerTuner class to use for internal training rounds.
  • tuner_params – Optional params to pass to the internal tuner.