Helper function to insert new trials¶
orion.client.manual – Routines for manual interaction with database¶
insert_trials(experiment_name, points, cmdconfig=None, raise_exc=True)¶
Insert sets of parameters manually, defined in points, as new trials for the experiment name, experiment_name.
- experiment_name – Name of the experiment which the new trials are going to be associated with
- points – list of tuples in agreement with experiment’s parameter space
- raise_exc – whether an inappropriate tuple of parameters will raise an exception or it will be ignored
If raise_exc is True, no set of parameters will be inserted. If it is False, only the valid ones will be inserted; the rest will be ignored.
This cannot be used to prepopulate a future experiment. So, an experiment with experiment_name should already be configured in the database.