boa.wrapper_utils.make_trial_dir#
- boa.wrapper_utils.make_trial_dir(experiment_dir: PathLike, trial_index: int, **kwargs)[source]#
Create a directory for a trial, and return the path to the directory. Trial directory is created inside the experiment directory, and named with the trial index. Model configs and outputs for each trial will be written here.
- Parameters
experiment_dir (os.PathLike) – Directory for the experiment
trial_index (int) – Trial index from the Ax client
kwargs – kwargs passed to
get_trial_dir
- Returns
Directory for the trial
- Return type
Path