rekall.tuner.random module¶
This module defines a tuner that randomly searches the state space.
-
class
rekall.tuner.random.
RandomTuner
(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 randomly searches the state space.
-
classmethod
generate_configs
(search_space, num_configs, seed=None)¶ Randomly generate
num_configs
configurations.
-
tune_impl
(**kwargs)¶ Randomly searches through the search space.
Parameters: seed (int) – Random seed to initialize things.
-
classmethod