syne_tune.optimizer.schedulers.searchers.gp_searcher_factory module

syne_tune.optimizer.schedulers.searchers.gp_searcher_factory.gp_fifo_searcher_factory(**kwargs)[source]

Returns kwargs for _create_internal(), based on kwargs equal to search_options passed to and extended by scheduler (see FIFOScheduler).

Extensions of kwargs by the scheduler:

  • scheduler: Name of scheduler ("fifo", "hyperband_*")

  • config_space: Configuration space

Only Hyperband schedulers:

  • resource_attr: Name of resource (or time) attribute

  • max_epochs: Maximum resource value

Parameters:

kwargssearch_options coming from scheduler

Return type:

Dict[str, Any]

Returns:

kwargs for _create_internal()

syne_tune.optimizer.schedulers.searchers.gp_searcher_factory.gp_multifidelity_searcher_factory(**kwargs)[source]

Returns kwargs for _create_internal(), based on kwargs equal to search_options passed to and extended by scheduler (see HyperbandScheduler).

Parameters:

kwargssearch_options coming from scheduler

Return type:

Dict[str, Any]

Returns:

kwargs for _create_internal()

syne_tune.optimizer.schedulers.searchers.gp_searcher_factory.constrained_gp_fifo_searcher_factory(**kwargs)[source]

Returns kwargs for _create_internal(), based on kwargs equal to search_options passed to and extended by scheduler (see FIFOScheduler).

Parameters:

kwargssearch_options coming from scheduler

Return type:

Dict[str, Any]

Returns:

kwargs for _create_internal()

syne_tune.optimizer.schedulers.searchers.gp_searcher_factory.cost_aware_coarse_gp_fifo_searcher_factory(**kwargs)[source]

Returns kwargs for _create_internal(), based on kwargs equal to search_options passed to and extended by scheduler (see FIFOScheduler).

This is for the coarse-grained variant, where costs \(c(x)\) are obtained together with metric values and are given a GP surrogate model.

Parameters:

kwargssearch_options coming from scheduler

Return type:

Dict[str, Any]

Returns:

kwargs for _create_internal()

syne_tune.optimizer.schedulers.searchers.gp_searcher_factory.cost_aware_fine_gp_fifo_searcher_factory(**kwargs)[source]

Returns kwargs for _create_internal(), based on kwargs equal to search_options passed to and extended by scheduler (see FIFOScheduler).

This is for the fine-grained variant, where costs \(c(x, r)\) are obtained with each report and are represented by a CostModel surrogate model.

Parameters:

kwargssearch_options coming from scheduler

Return type:

Dict[str, Any]

Returns:

kwargs for _create_internal()

syne_tune.optimizer.schedulers.searchers.gp_searcher_factory.cost_aware_gp_multifidelity_searcher_factory(**kwargs)[source]

Returns kwargs for _create_internal(), based on kwargs equal to search_options passed to and extended by scheduler (see HyperbandScheduler).

Parameters:

kwargssearch_options coming from scheduler

Return type:

Dict[str, Any]

Returns:

kwargs for _create_internal()

syne_tune.optimizer.schedulers.searchers.gp_searcher_factory.hypertune_searcher_factory(**kwargs)[source]

Returns kwargs for _create_internal(), based on kwargs equal to search_options passed to and extended by scheduler (see HyperbandScheduler).

Parameters:

kwargssearch_options coming from scheduler

Return type:

Dict[str, Any]

Returns:

kwargs for _create_internal()

syne_tune.optimizer.schedulers.searchers.gp_searcher_factory.gp_fifo_searcher_defaults(kwargs)[source]

Returns mandatory, default_options, config_space for check_and_merge_defaults() to be applied to search_options for GPFIFOSearcher.

Return type:

(Set[str], dict, dict)

Returns:

(mandatory, default_options, config_space)

syne_tune.optimizer.schedulers.searchers.gp_searcher_factory.gp_multifidelity_searcher_defaults(kwargs)[source]

Returns mandatory, default_options, config_space for check_and_merge_defaults() to be applied to search_options for GPMultiFidelitySearcher.

Return type:

(Set[str], dict, dict)

Returns:

(mandatory, default_options, config_space)

syne_tune.optimizer.schedulers.searchers.gp_searcher_factory.constrained_gp_fifo_searcher_defaults(kwargs)[source]

Returns mandatory, default_options, config_space for check_and_merge_defaults() to be applied to search_options for ConstrainedGPFIFOSearcher.

Return type:

(Set[str], dict, dict)

Returns:

(mandatory, default_options, config_space)

syne_tune.optimizer.schedulers.searchers.gp_searcher_factory.cost_aware_gp_fifo_searcher_defaults(kwargs)[source]

Returns mandatory, default_options, config_space for check_and_merge_defaults() to be applied to search_options for CostAwareGPFIFOSearcher.

Return type:

(Set[str], dict, dict)

Returns:

(mandatory, default_options, config_space)

syne_tune.optimizer.schedulers.searchers.gp_searcher_factory.cost_aware_gp_multifidelity_searcher_defaults(kwargs)[source]

Returns mandatory, default_options, config_space for check_and_merge_defaults() to be applied to search_options for CostAwareGPMultiFidelitySearcher.

Return type:

(Set[str], dict, dict)

Returns:

(mandatory, default_options, config_space)

syne_tune.optimizer.schedulers.searchers.gp_searcher_factory.hypertune_searcher_defaults(kwargs)[source]

Returns mandatory, default_options, config_space for check_and_merge_defaults() to be applied to search_options for HyperTuneSearcher.

Return type:

(Set[str], dict, dict)

Returns:

(mandatory, default_options, config_space)