Producer

TODO

Produce and register samples to try

Suggest new parameter sets which optimize the objective.

class orion.core.worker.producer.Producer(experiment)[source]

Produce suggested sets of problem’s parameter space to try out.

It uses an Experiment object to poll for not yet observed trials which have been already evaluated and to register new suggestions (points of the parameter Space) to be evaluated.

Methods

adjust_pool_size(pool_size)

Limit pool size if it would overshoot over max_trials

produce(pool_size)

Create and register new trials.

register_trial(new_trial)

Register a new set of sampled parameters into the DB guaranteeing their uniqueness

register_trials(new_points)

Register new sets of sampled parameters into the DB guaranteeing their uniqueness

update()

Pull all trials to update model with completed ones and naive model with non completed ones.

adjust_pool_size(pool_size)[source]

Limit pool size if it would overshoot over max_trials

produce(pool_size)[source]

Create and register new trials.

register_trial(new_trial)[source]

Register a new set of sampled parameters into the DB guaranteeing their uniqueness

Parameters
new_point: tuple

tuple of values representing the hyperparameters values

register_trials(new_points)[source]

Register new sets of sampled parameters into the DB guaranteeing their uniqueness

update()[source]

Pull all trials to update model with completed ones and naive model with non completed ones.