SYMBOL INDEX (197 symbols across 26 files) FILE: conftest.py function pytest_addoption (line 4) | def pytest_addoption(parser): function pytest_configure (line 19) | def pytest_configure(config): function pytest_collection_modifyitems (line 28) | def pytest_collection_modifyitems(config, items): FILE: hypertunity/domain.py class _RecursiveDict (line 19) | class _RecursiveDict: method __init__ (line 26) | def __init__(self, dct): method __hash__ (line 42) | def __hash__(self): method __repr__ (line 45) | def __repr__(self): method __str__ (line 51) | def __str__(self): method __eq__ (line 55) | def __eq__(self, other): method __len__ (line 61) | def __len__(self): method __getitem__ (line 67) | def __getitem__(self, item): method __add__ (line 84) | def __add__(self, other: '_RecursiveDict'): method flatten (line 110) | def flatten(self): method as_dict (line 120) | def as_dict(self): method from_list (line 127) | def from_list(cls, lst): method serialise (line 163) | def serialise(self, filepath=None): method deserialise (line 181) | def deserialise(cls, series): method as_namedtuple (line 197) | def as_namedtuple(self): class Domain (line 231) | class Domain(_RecursiveDict): method __init__ (line 257) | def __init__(self, dct, seed=None): method __iter__ (line 273) | def __iter__(self): method _validate (line 312) | def _validate(self): method sample (line 327) | def sample(self): method is_continuous (line 348) | def is_continuous(self): method get_type (line 353) | def get_type(cls, subdomain): method split_by_type (line 380) | def split_by_type(self) -> Tuple['Domain', 'Domain', 'Domain']: class DomainNotIterableError (line 405) | class DomainNotIterableError(TypeError): class DomainSpecificationError (line 412) | class DomainSpecificationError(ValueError): class Sample (line 419) | class Sample(_RecursiveDict): method __init__ (line 432) | def __init__(self, dct): method __iter__ (line 436) | def __iter__(self): function _deepiter_dict (line 446) | def _deepiter_dict(dct): FILE: hypertunity/optimisation/base.py class EvaluationScore (line 20) | class EvaluationScore: method __str__ (line 27) | def __str__(self): class HistoryPoint (line 32) | class HistoryPoint: class Optimiser (line 41) | class Optimiser: method __init__ (line 57) | def __init__(self, domain: Domain): method history (line 67) | def history(self): method history (line 72) | def history(self, history: List[HistoryPoint]): method run_step (line 86) | def run_step(self, batch_size, *args: Any, **kwargs: Any) -> List[Samp... method update (line 101) | def update(self, x, fx, **kwargs): method _update_history (line 121) | def _update_history(self, x, fx): method reset (line 145) | def reset(self): class ExhaustedSearchSpaceError (line 150) | class ExhaustedSearchSpaceError(Exception): FILE: hypertunity/optimisation/bo.py class BayesianOptimisation (line 30) | class BayesianOptimisation(Optimiser): method __init__ (line 37) | def __init__(self, domain, seed=None): method _convert_to_gpyopt_domain (line 63) | def _convert_to_gpyopt_domain( method _convert_to_gpyopt_sample (line 113) | def _convert_to_gpyopt_sample(self, orig_sample: Sample) -> GPyOptSample: method _convert_from_gpyopt_sample (line 137) | def _convert_from_gpyopt_sample(self, gpyopt_sample: GPyOptSample) -> ... method run_step (line 171) | def run_step( method _build_model (line 266) | def _build_model(self, model: Union[str, Type[GPy.Model]] = "GP", method update (line 303) | def update(self, x, fx, **kwargs): method _convert_evaluation_sample (line 342) | def _convert_evaluation_sample(self, x, fx): method reset (line 362) | def reset(self): function _overwrite_dict (line 373) | def _overwrite_dict(old_dict, new_dict): FILE: hypertunity/optimisation/exhaustive.py class GridSearch (line 13) | class GridSearch(Optimiser): method __init__ (line 16) | def __init__(self, method run_step (line 59) | def run_step(self, batch_size: int = 1, **kwargs) -> List[Sample]: method reset (line 98) | def reset(self): FILE: hypertunity/optimisation/random.py class RandomSearch (line 13) | class RandomSearch(Optimiser): method __init__ (line 16) | def __init__(self, domain: Domain, seed: int = None): method run_step (line 29) | def run_step(self, batch_size=1, **kwargs) -> List[Sample]: FILE: hypertunity/optimisation/tests/_common.py function continuous_1d (line 9) | def continuous_1d(x): function continuous_heteroscedastic_1d (line 20) | def continuous_heteroscedastic_1d(x): function heterogeneous_3d (line 35) | def heterogeneous_3d(x, y, z): function discrete_3d (line 56) | def discrete_3d(x, y, z): function evaluate_continuous_1d (line 75) | def evaluate_continuous_1d(opt, batch_size, n_steps, **kwargs): function evaluate_heterogeneous_3d (line 92) | def evaluate_heterogeneous_3d(opt, batch_size, n_steps): function evaluate_discrete_3d (line 111) | def evaluate_discrete_3d(opt, batch_size, n_steps): FILE: hypertunity/optimisation/tests/test_bo.py function test_bo_update_and_reset (line 11) | def test_bo_update_and_reset(): function test_bo_set_history (line 32) | def test_bo_set_history(): function test_bo_simple_continuous (line 49) | def test_bo_simple_continuous(): function test_bo_simple_mixed (line 56) | def test_bo_simple_mixed(): function test_bo_custom_model (line 63) | def test_bo_custom_model(): function test_bo_gp_mcmc_model (line 106) | def test_bo_gp_mcmc_model(): FILE: hypertunity/optimisation/tests/test_exhaustive.py function test_grid_simple_discrete (line 9) | def test_grid_simple_discrete(): function test_grid_simple_mixed (line 23) | def test_grid_simple_mixed(): function test_update (line 31) | def test_update(): FILE: hypertunity/optimisation/tests/test_random.py function test_random_simple_continuous (line 7) | def test_random_simple_continuous(): function test_random_simple_mixed (line 13) | def test_random_simple_mixed(): function test_update (line 19) | def test_update(): FILE: hypertunity/reports/base.py class Reporter (line 21) | class Reporter: method __init__ (line 24) | def __init__(self, domain: Domain, method database (line 67) | def database(self): method default_database_table (line 72) | def default_database_table(self): method log (line 76) | def log(self, entry: HistoryEntryType, **kwargs: Any): method _log_tuple (line 105) | def _log_tuple(self, entry: Tuple, **kwargs): method _log_history_point (line 146) | def _log_history_point(self, entry: HistoryPoint, **kwargs: Any): method _add_to_db (line 156) | def _add_to_db(self, entry: HistoryPoint, meta: Any = None): method get_best (line 162) | def get_best(self, criterion: Union[str, Callable] = "max") -> Optiona... method _get_best_from_db (line 193) | def _get_best_from_db(self, selection_fn: Callable): method from_history (line 204) | def from_history(self, history: List[HistoryEntryType]): method from_database (line 214) | def from_database(self, database: Union[str, tinydb.TinyDB], table: st... method to_history (line 243) | def to_history(self, table: str = None) -> List[HistoryPoint]: method _convert_history_to_doc (line 265) | def _convert_history_to_doc(entry: HistoryPoint) -> Dict: method _convert_doc_to_history (line 276) | def _convert_doc_to_history(document: Dict) -> HistoryPoint: FILE: hypertunity/reports/table.py class Table (line 18) | class Table(Reporter): method __init__ (line 23) | def __init__(self, domain: Domain, method __str__ (line 45) | def __str__(self): method data (line 50) | def data(self) -> np.array: method _log_history_point (line 54) | def _log_history_point(self, entry: HistoryPoint, **kwargs: Any): method format (line 71) | def format(self, order: str = "none", emphasise: bool = False) -> str: method from_database (line 107) | def from_database(self, database: Union[str, tinydb.TinyDB], table: st... FILE: hypertunity/reports/tensorboard.py class Tensorboard (line 35) | class Tensorboard(Reporter): method __init__ (line 47) | def __init__(self, domain: Domain, metrics: List[str], logdir: str, method _convert_to_hparams_domain (line 75) | def _convert_to_hparams_domain(domain: Domain) -> Dict[str, hp.HParam]: method _convert_to_hparams_sample (line 94) | def _convert_to_hparams_sample(self, sample: Sample) -> Dict[hp.HParam... method _set_up (line 101) | def _set_up(self): method _log_tf_eager_mode (line 108) | def _log_tf_eager_mode(params, metrics, full_experiment_dir): method _log_tf_graph_mode (line 116) | def _log_tf_graph_mode(params, metrics, full_experiment_dir): method _log_history_point (line 125) | def _log_history_point(self, entry: HistoryPoint, experiment_dir: str ... method from_database (line 145) | def from_database(self, database: Union[str, tinydb.TinyDB], table: st... FILE: hypertunity/reports/tests/conftest.py function generated_history (line 8) | def generated_history(): FILE: hypertunity/reports/tests/test_table.py function test_from_to_history (line 9) | def test_from_to_history(generated_history): function test_from_tuple_and_history_point (line 25) | def test_from_tuple_and_history_point(generated_history): function test_database_and_get_best (line 44) | def test_database_and_get_best(generated_history): FILE: hypertunity/reports/tests/test_tensorboard.py function test_from_to_history (line 7) | def test_from_to_history(generated_history): function test_from_tuple_and_history_point (line 23) | def test_from_tuple_and_history_point(generated_history): FILE: hypertunity/scheduling/jobs.py function reset_registry (line 30) | def reset_registry(): function generate_id (line 45) | def generate_id(): function import_script (line 52) | def import_script(path): function run_command (line 83) | def run_command(cmd: List[str]) -> str: function get_callable_from_script (line 102) | def get_callable_from_script(script_path: str, func_name: str = "main") ... function run_script_with_args (line 131) | def run_script_with_args(binary: str, script_path: str, *args: Any, **kw... function fetch_result (line 169) | def fetch_result(output_file, n_trials: int = 5, waiting_time: float = 1... class Job (line 195) | class Job: method __post_init__ (line 222) | def __post_init__(self): method __hash__ (line 235) | def __hash__(self): method __call__ (line 238) | def __call__(self, *args, **kwargs) -> 'Result': method _build_callable (line 251) | def _build_callable(self): method _infer_binary (line 272) | def _infer_binary(self): class SlurmJobState (line 282) | class SlurmJobState(enum.Enum): method from_string (line 293) | def from_string(cls, state: str): class SlurmJob (line 308) | class SlurmJob(Job): method __post_init__ (line 339) | def __post_init__(self): method __call__ (line 344) | def __call__(self) -> 'Result': method _execute_job (line 348) | def _execute_job(self) -> Any: method _create_slurm_script (line 366) | def _create_slurm_script(self) -> List[str]: method _query_job_status (line 421) | def _query_job_status(self, slurm_id: int) -> SlurmJobState: class Result (line 430) | class Result: method __post_init__ (line 443) | def __post_init__(self): FILE: hypertunity/scheduling/scheduler.py class Scheduler (line 20) | class Scheduler: method __init__ (line 31) | def __init__(self, n_parallel: int = None): method __del__ (line 51) | def __del__(self): method __enter__ (line 61) | def __enter__(self): method __exit__ (line 65) | def __exit__(self, exc_type, exc_val, exc_tb): method _run_servant (line 69) | def _run_servant(self): method dispatch (line 97) | def dispatch(self, jobs: List[Job]): method collect (line 114) | def collect(self, n_results: int, timeout: float = None) -> List[Result]: method interrupt (line 144) | def interrupt(self): method exit (line 148) | def exit(self): FILE: hypertunity/scheduling/tests/script.py class DoNotReplaceAction (line 7) | class DoNotReplaceAction(argparse.Action): method __call__ (line 8) | def __call__(self, parser, namespace, values, option_string=None): function parse_args (line 13) | def parse_args(args): function main (line 26) | def main(x: int, y: float, z: str) -> float: FILE: hypertunity/scheduling/tests/test_jobs.py function test_repeating_id (line 6) | def test_repeating_id(): function test_callable_job (line 13) | def test_callable_job(): FILE: hypertunity/scheduling/tests/test_scheduler.py function shared_slurm_tmp_dir (line 15) | def shared_slurm_tmp_dir(): function square (line 19) | def square(sample: Sample) -> base.EvaluationScore: function run_jobs (line 23) | def run_jobs(jobs): function test_local_from_script_and_function (line 33) | def test_local_from_script_and_function(): function test_local_from_script_and_cmdline_args (line 46) | def test_local_from_script_and_cmdline_args(): function test_local_from_script_and_cmdline_named_args (line 60) | def test_local_from_script_and_cmdline_named_args(): function test_local_from_fn (line 77) | def test_local_from_fn(): function test_slurm_from_script (line 87) | def test_slurm_from_script(shared_slurm_tmp_dir): FILE: hypertunity/tests/test_domain.py function test_invalid_domain (line 24) | def test_invalid_domain(domain, expectation): function test_valid_domain (line 33) | def test_valid_domain(domain): function test_eq (line 37) | def test_eq(): function test_flatten (line 43) | def test_flatten(): function test_addition (line 48) | def test_addition(): function test_serialisation (line 62) | def test_serialisation(): function test_as_dict (line 69) | def test_as_dict(): function test_as_namedtuple (line 75) | def test_as_namedtuple(): function test_from_list (line 83) | def test_from_list(): function test_fail_iter_cont_domain (line 100) | def test_fail_iter_cont_domain(): function test_iter (line 105) | def test_iter(): function test_sampling (line 127) | def test_sampling(): function test_split_by_type (line 134) | def test_split_by_type(): FILE: hypertunity/tests/test_trial.py function foo (line 10) | def foo(x, y, z): function test_trial_with_callable (line 15) | def test_trial_with_callable(): function test_trial_with_script (line 40) | def test_trial_with_script(): FILE: hypertunity/tests/test_utils.py function nullcontext (line 13) | def nullcontext(): function test_support_american_spelling (line 17) | def test_support_american_spelling(): function test_split_and_join_strings (line 35) | def test_split_and_join_strings(test_input, expectation): function test_drain_queue (line 43) | def test_drain_queue(): FILE: hypertunity/trial.py class Trial (line 21) | class Trial: method __init__ (line 28) | def __init__(self, objective: Union[Callable, str], method _init_optimiser (line 64) | def _init_optimiser(self, optimiser: OptimiserTypes, **kwargs) -> Opti... method _init_reporter (line 81) | def _init_reporter(self, reporter: ReporterTypes, **kwargs) -> Reporter: method _init_job (line 98) | def _init_job(device: str) -> Type[Job]: method run (line 108) | def run(self, n_steps: int, n_parallel: int = 1, **kwargs): function get_optimiser (line 150) | def get_optimiser(name: str) -> Type[Optimiser]: function get_reporter (line 164) | def get_reporter(name: str) -> Type[Reporter]: FILE: hypertunity/utils.py function support_american_spelling (line 15) | def support_american_spelling(func): function join_strings (line 37) | def join_strings(strings, join_char="_"): function split_string (line 70) | def split_string(joined, split_char="_"): function drain_queue (line 96) | def drain_queue(q, close_queue=False):