Running BOA Optimization Directly in Python#
This notebook demonstrates how to:
Write a basic Wrapper in Python and launch a optimization from Python. If you wanted to launch it from command line, you would do a similar thing of defining the Wrapper, and then put in your configuration file the information about where the wrapper is, and use BOA’s CLI tools. See Running an Experiment from Command Line (Python Wrapper) for more information.
1import pathlib
2import shutil
3
4from IPython.display import Code
5from wrapper import Wrapper
6
7import boa
[WARNING 08-11 16:39:27] ax.service.utils.with_db_settings_base: Ax currently requires a sqlalchemy version below 2.0. This will be addressed in a future release. Disabling SQL storage in Ax for now, if you would like to use SQL storage please install Ax with mysql extras via `pip install ax-platform[mysql]`.
Show code cell content
1# Remove old runs to have a clean slate for this example
2old_runs = pathlib.Path().resolve().glob("boa_runs*")
3for path in old_runs:
4 shutil.rmtree(path)
Loading the Config File#
1config_path = pathlib.Path().resolve() / "single_config.yaml"
Here we can see what the configuration file looks like
1Code(config_path)
# Single objective optimization config
optimization_options:
objective_options:
objectives:
- name: Cosine8
trials: 50
append_timestamp: False
parameters:
x0:
type: range
bounds: [0.0, 1.0]
x1:
type: range
bounds: [0.0, 1.0]
x2:
type: range
bounds: [0.0, 1.0]
x3:
type: range
bounds: [0.0, 1.0]
x4:
type: range
bounds: [0.0, 1.0]
x5:
type: range
bounds: [0.0, 1.0]
x6:
type: range
bounds: [0.0, 1.0]
x7:
type: range
bounds: [0.0, 1.0]
# These are all defaults, so we don't need to specify them in this case
#script_options:
# wrapper_path: ./wrapper.py
# wrapper_name: Wrapper
# working_dir: .
# experiment_dir: ... # this is where boa will write logs to by default
# if not specified it will be working_dir/experiment_name
# append_timestamp: True
# This last option appends a timestamp to our output experiment directory.
# This is also the default (True)
we need the config normalized, which modifies the parameter section into a less user friendly form, but what the downstream libraries need
1config = boa.load_jsonlike(config_path)
Define Our Wrapper#
We define our wrapper in wrapper.py and use a synthetic function that stands in for any black box model call
1Code(Wrapper.path())
import numpy as np
from ax.utils.measurement.synthetic_functions import from_botorch
from botorch.test_functions.synthetic import Cosine8
import boa
cosine8 = from_botorch(Cosine8())
def black_box_model(X) -> float:
result = -cosine8(X)
return result
class Wrapper(boa.BaseWrapper):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.data = {}
def run_model(self, trial) -> None:
X = np.array([parameter for parameter in trial.arm.parameters.values()])
# This is a silly toy function, in reality,
# you could instead import your model main() function and use that, and then collect the results.
# You could also call an external script to start a model run from Bash or elsewhere.
self.data[trial.index] = black_box_model(X)
def set_trial_status(self, trial) -> None:
data_exists = self.data.get(trial.index)
if data_exists:
trial.mark_completed()
def fetch_trial_data(self, trial, *args, **kwargs):
return self.data[trial.index]
Initialize our Setup#
1controller = boa.Controller(config_path=config_path, wrapper=Wrapper)
2
3controller.initialize_scheduler()
[INFO 08-11 16:39:28] ax.service.utils.instantiation: Inferred value type of ParameterType.FLOAT for parameter x0. If that is not the expected value type, you can explicity specify 'value_type' ('int', 'float', 'bool' or 'str') in parameter dict.
[INFO 08-11 16:39:28] ax.service.utils.instantiation: Inferred value type of ParameterType.FLOAT for parameter x1. If that is not the expected value type, you can explicity specify 'value_type' ('int', 'float', 'bool' or 'str') in parameter dict.
[INFO 08-11 16:39:28] ax.service.utils.instantiation: Inferred value type of ParameterType.FLOAT for parameter x2. If that is not the expected value type, you can explicity specify 'value_type' ('int', 'float', 'bool' or 'str') in parameter dict.
[INFO 08-11 16:39:28] ax.service.utils.instantiation: Inferred value type of ParameterType.FLOAT for parameter x3. If that is not the expected value type, you can explicity specify 'value_type' ('int', 'float', 'bool' or 'str') in parameter dict.
[INFO 08-11 16:39:28] ax.service.utils.instantiation: Inferred value type of ParameterType.FLOAT for parameter x4. If that is not the expected value type, you can explicity specify 'value_type' ('int', 'float', 'bool' or 'str') in parameter dict.
[INFO 08-11 16:39:28] ax.service.utils.instantiation: Inferred value type of ParameterType.FLOAT for parameter x5. If that is not the expected value type, you can explicity specify 'value_type' ('int', 'float', 'bool' or 'str') in parameter dict.
[INFO 08-11 16:39:28] ax.service.utils.instantiation: Inferred value type of ParameterType.FLOAT for parameter x6. If that is not the expected value type, you can explicity specify 'value_type' ('int', 'float', 'bool' or 'str') in parameter dict.
[INFO 08-11 16:39:28] ax.service.utils.instantiation: Inferred value type of ParameterType.FLOAT for parameter x7. If that is not the expected value type, you can explicity specify 'value_type' ('int', 'float', 'bool' or 'str') in parameter dict.
[INFO 08-11 16:39:28] ax.service.utils.instantiation: Created search space: SearchSpace(parameters=[RangeParameter(name='x0', parameter_type=FLOAT, range=[0.0, 1.0]), RangeParameter(name='x1', parameter_type=FLOAT, range=[0.0, 1.0]), RangeParameter(name='x2', parameter_type=FLOAT, range=[0.0, 1.0]), RangeParameter(name='x3', parameter_type=FLOAT, range=[0.0, 1.0]), RangeParameter(name='x4', parameter_type=FLOAT, range=[0.0, 1.0]), RangeParameter(name='x5', parameter_type=FLOAT, range=[0.0, 1.0]), RangeParameter(name='x6', parameter_type=FLOAT, range=[0.0, 1.0]), RangeParameter(name='x7', parameter_type=FLOAT, range=[0.0, 1.0])], parameter_constraints=[]).
[INFO 08-11 16:39:28] ax.modelbridge.dispatch_utils: Using Models.GPEI since there are more ordered parameters than there are categories for the unordered categorical parameters.
[INFO 08-11 16:39:28] ax.modelbridge.dispatch_utils: Calculating the number of remaining initialization trials based on num_initialization_trials=None max_initialization_trials=None num_tunable_parameters=8 num_trials=None use_batch_trials=False
[INFO 08-11 16:39:28] ax.modelbridge.dispatch_utils: calculated num_initialization_trials=16
[INFO 08-11 16:39:28] ax.modelbridge.dispatch_utils: num_completed_initialization_trials=0 num_remaining_initialization_trials=16
[INFO 08-11 16:39:28] ax.modelbridge.dispatch_utils: Using Bayesian Optimization generation strategy: GenerationStrategy(name='Sobol+GPEI', steps=[Sobol for 16 trials, GPEI for subsequent trials]). Iterations after 16 will take longer to generate due to model-fitting.
[INFO 08-11 16:39:28] Scheduler: `Scheduler` requires experiment to have immutable search space and optimization config. Setting property immutable_search_space_and_opt_config to `True` on experiment.
(Scheduler(experiment=Experiment(boa_runs), generation_strategy=GenerationStrategy(name='Sobol+GPEI', steps=[Sobol for 16 trials, GPEI for subsequent trials]), options=SchedulerOptions(max_pending_trials=10, trial_type=<TrialType.TRIAL: 0>, batch_size=None, total_trials=None, tolerated_trial_failure_rate=0.5, min_failed_trials_for_failure_rate_check=5, log_filepath=None, logging_level=20, ttl_seconds_for_trials=None, init_seconds_between_polls=1, min_seconds_before_poll=1.0, seconds_between_polls_backoff_factor=1.5, timeout_hours=None, run_trials_in_batches=False, debug_log_run_metadata=False, early_stopping_strategy=None, global_stopping_strategy=None, suppress_storage_errors_after_retries=False)),
<wrapper.Wrapper at 0x7ff6bc504580>)
Run our Experiment#
The Controller will save our scheduler to JSON after it completes the run so we can reload it at a later time for analysis or to resume our experiment
1scheduler = controller.run()
[INFO 2023-08-11 16:39:28,592 MainProcess] boa:
##############################################
BOA Experiment Run
Output Experiment Dir: /home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928
Start Time: 20230811T163928
Version: 0.8.9.dev0+gad156f0.d20230811
##############################################
[INFO 08-11 16:39:28] Scheduler: Running trials [0]...
[INFO 08-11 16:39:29] Scheduler: Running trials [1]...
[INFO 08-11 16:39:30] Scheduler: Running trials [2]...
[INFO 08-11 16:39:31] Scheduler: Running trials [3]...
[INFO 08-11 16:39:32] Scheduler: Running trials [4]...
[INFO 08-11 16:39:33] Scheduler: Running trials [5]...
[INFO 08-11 16:39:34] Scheduler: Running trials [6]...
[INFO 08-11 16:39:35] Scheduler: Running trials [7]...
[INFO 08-11 16:39:36] Scheduler: Running trials [8]...
[INFO 08-11 16:39:37] Scheduler: Running trials [9]...
[INFO 08-11 16:39:38] Scheduler: Retrieved COMPLETED trials: 0 - 9.
[INFO 08-11 16:39:38] Scheduler: Fetching data for trials: 0 - 9.
[ERROR 2023-08-11 16:39:38,828 MainProcess] boa: Object <wrapper.Wrapper object at 0x7ff6bc504580> passed to `object_to_json` (of type <class 'wrapper.Wrapper'>, module: wrapper) is not registered with a corresponding encoder in ENCODER_REGISTRY.
[INFO 2023-08-11 16:39:38,847 MainProcess] boa: Saved JSON-serialized state of optimization to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/scheduler.json`.
Boa version: 0.8.9.dev0+gad156f0.d20230811
[INFO 2023-08-11 16:39:38,869 MainProcess] boa: Saved optimization parametrization and objective to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/optimization.csv`.
[INFO 2023-08-11 16:39:38,885 MainProcess] boa: Trials so far: 10
Running trials:
Will Produce next trials from generation step: Sobol
Best trial so far: {5: {'Cosine8': 1.9744926781957917}}
[INFO 08-11 16:39:38] Scheduler: Running trials [10]...
[INFO 08-11 16:39:39] Scheduler: Running trials [11]...
[INFO 08-11 16:39:40] Scheduler: Running trials [12]...
[INFO 08-11 16:39:41] Scheduler: Running trials [13]...
[INFO 08-11 16:39:42] Scheduler: Running trials [14]...
[INFO 08-11 16:39:44] Scheduler: Running trials [15]...
[INFO 08-11 16:39:46] Scheduler: Running trials [16]...
[INFO 08-11 16:39:47] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:39:49] Scheduler: Running trials [17]...
[INFO 08-11 16:39:50] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:39:53] Scheduler: Running trials [18]...
[INFO 08-11 16:39:54] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:39:54] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 08-11 16:39:54] Scheduler: Retrieved COMPLETED trials: 10 - 18.
[INFO 08-11 16:39:54] Scheduler: Fetching data for trials: 10 - 18.
[ERROR 2023-08-11 16:39:54,782 MainProcess] boa: Object <wrapper.Wrapper object at 0x7ff6bc504580> passed to `object_to_json` (of type <class 'wrapper.Wrapper'>, module: wrapper) is not registered with a corresponding encoder in ENCODER_REGISTRY.
[INFO 2023-08-11 16:39:54,808 MainProcess] boa: Saved JSON-serialized state of optimization to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/scheduler.json`.
Boa version: 0.8.9.dev0+gad156f0.d20230811
[INFO 2023-08-11 16:39:54,829 MainProcess] boa: Saved optimization parametrization and objective to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/optimization.csv`.
[INFO 2023-08-11 16:39:54,848 MainProcess] boa: Trials so far: 19
Running trials:
Will Produce next trials from generation step: GPEI
Best trial so far: {11: {'Cosine8': 0.4397042642337271}}
[INFO 08-11 16:39:56] Scheduler: Running trials [19]...
[INFO 08-11 16:39:57] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:00] Scheduler: Running trials [20]...
[INFO 08-11 16:40:01] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:05] Scheduler: Running trials [21]...
[INFO 08-11 16:40:06] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:06] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 08-11 16:40:06] Scheduler: Retrieved COMPLETED trials: 19 - 21.
[INFO 08-11 16:40:06] Scheduler: Fetching data for trials: 19 - 21.
[ERROR 2023-08-11 16:40:06,903 MainProcess] boa: Object <wrapper.Wrapper object at 0x7ff6bc504580> passed to `object_to_json` (of type <class 'wrapper.Wrapper'>, module: wrapper) is not registered with a corresponding encoder in ENCODER_REGISTRY.
[INFO 2023-08-11 16:40:06,931 MainProcess] boa: Saved JSON-serialized state of optimization to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/scheduler.json`.
Boa version: 0.8.9.dev0+gad156f0.d20230811
[INFO 2023-08-11 16:40:06,951 MainProcess] boa: Saved optimization parametrization and objective to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/optimization.csv`.
[INFO 2023-08-11 16:40:06,971 MainProcess] boa: Trials so far: 22
Running trials:
Will Produce next trials from generation step: GPEI
Best trial so far: {21: {'Cosine8': 0.28655907130111175}}
[INFO 08-11 16:40:09] Scheduler: Running trials [22]...
[INFO 08-11 16:40:09] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:10] Scheduler: Running trials [23]...
[INFO 08-11 16:40:11] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:14] Scheduler: Running trials [24]...
[INFO 08-11 16:40:15] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:15] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 08-11 16:40:15] Scheduler: Retrieved COMPLETED trials: 22 - 24.
[INFO 08-11 16:40:15] Scheduler: Fetching data for trials: 22 - 24.
[ERROR 2023-08-11 16:40:15,875 MainProcess] boa: Object <wrapper.Wrapper object at 0x7ff6bc504580> passed to `object_to_json` (of type <class 'wrapper.Wrapper'>, module: wrapper) is not registered with a corresponding encoder in ENCODER_REGISTRY.
[INFO 2023-08-11 16:40:15,905 MainProcess] boa: Saved JSON-serialized state of optimization to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/scheduler.json`.
Boa version: 0.8.9.dev0+gad156f0.d20230811
[INFO 2023-08-11 16:40:15,927 MainProcess] boa: Saved optimization parametrization and objective to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/optimization.csv`.
[INFO 2023-08-11 16:40:15,949 MainProcess] boa: Trials so far: 25
Running trials:
Will Produce next trials from generation step: GPEI
Best trial so far: {22: {'Cosine8': 0.18708703910269991}}
[INFO 08-11 16:40:18] Scheduler: Running trials [25]...
[INFO 08-11 16:40:19] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:21] Scheduler: Running trials [26]...
[INFO 08-11 16:40:22] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:23] Scheduler: Running trials [27]...
[INFO 08-11 16:40:24] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:24] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 08-11 16:40:24] Scheduler: Retrieved COMPLETED trials: 25 - 27.
[INFO 08-11 16:40:24] Scheduler: Fetching data for trials: 25 - 27.
[ERROR 2023-08-11 16:40:24,512 MainProcess] boa: Object <wrapper.Wrapper object at 0x7ff6bc504580> passed to `object_to_json` (of type <class 'wrapper.Wrapper'>, module: wrapper) is not registered with a corresponding encoder in ENCODER_REGISTRY.
[INFO 2023-08-11 16:40:24,545 MainProcess] boa: Saved JSON-serialized state of optimization to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/scheduler.json`.
Boa version: 0.8.9.dev0+gad156f0.d20230811
[INFO 2023-08-11 16:40:24,568 MainProcess] boa: Saved optimization parametrization and objective to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/optimization.csv`.
[INFO 2023-08-11 16:40:24,589 MainProcess] boa: Trials so far: 28
Running trials:
Will Produce next trials from generation step: GPEI
Best trial so far: {22: {'Cosine8': 0.18708703910269991}}
[INFO 08-11 16:40:27] Scheduler: Running trials [28]...
[INFO 08-11 16:40:27] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:27] Scheduler: Running trials [29]...
[INFO 08-11 16:40:27] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:28] Scheduler: Running trials [30]...
[INFO 08-11 16:40:30] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:30] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 08-11 16:40:30] Scheduler: Retrieved COMPLETED trials: 28 - 30.
[INFO 08-11 16:40:30] Scheduler: Fetching data for trials: 28 - 30.
[ERROR 2023-08-11 16:40:30,039 MainProcess] boa: Object <wrapper.Wrapper object at 0x7ff6bc504580> passed to `object_to_json` (of type <class 'wrapper.Wrapper'>, module: wrapper) is not registered with a corresponding encoder in ENCODER_REGISTRY.
[INFO 2023-08-11 16:40:30,073 MainProcess] boa: Saved JSON-serialized state of optimization to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/scheduler.json`.
Boa version: 0.8.9.dev0+gad156f0.d20230811
[INFO 2023-08-11 16:40:30,097 MainProcess] boa: Saved optimization parametrization and objective to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/optimization.csv`.
[INFO 2023-08-11 16:40:30,119 MainProcess] boa: Trials so far: 31
Running trials:
Will Produce next trials from generation step: GPEI
Best trial so far: {28: {'Cosine8': -0.055637749557945426}}
[INFO 08-11 16:40:31] Scheduler: Running trials [31]...
[INFO 08-11 16:40:32] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:33] Scheduler: Running trials [32]...
[INFO 08-11 16:40:34] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:36] Scheduler: Running trials [33]...
[INFO 08-11 16:40:37] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:37] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 08-11 16:40:37] Scheduler: Retrieved COMPLETED trials: 31 - 33.
[INFO 08-11 16:40:37] Scheduler: Fetching data for trials: 31 - 33.
[ERROR 2023-08-11 16:40:37,283 MainProcess] boa: Object <wrapper.Wrapper object at 0x7ff6bc504580> passed to `object_to_json` (of type <class 'wrapper.Wrapper'>, module: wrapper) is not registered with a corresponding encoder in ENCODER_REGISTRY.
[INFO 2023-08-11 16:40:37,322 MainProcess] boa: Saved JSON-serialized state of optimization to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/scheduler.json`.
Boa version: 0.8.9.dev0+gad156f0.d20230811
[INFO 2023-08-11 16:40:37,347 MainProcess] boa: Saved optimization parametrization and objective to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/optimization.csv`.
[INFO 2023-08-11 16:40:37,371 MainProcess] boa: Trials so far: 34
Running trials:
Will Produce next trials from generation step: GPEI
Best trial so far: {28: {'Cosine8': -0.055637749557945426}}
[INFO 08-11 16:40:38] Scheduler: Running trials [34]...
[INFO 08-11 16:40:39] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:40] Scheduler: Running trials [35]...
[INFO 08-11 16:40:41] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:44] Scheduler: Running trials [36]...
[INFO 08-11 16:40:45] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:45] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 08-11 16:40:45] Scheduler: Retrieved COMPLETED trials: 34 - 36.
[INFO 08-11 16:40:45] Scheduler: Fetching data for trials: 34 - 36.
[ERROR 2023-08-11 16:40:45,238 MainProcess] boa: Object <wrapper.Wrapper object at 0x7ff6bc504580> passed to `object_to_json` (of type <class 'wrapper.Wrapper'>, module: wrapper) is not registered with a corresponding encoder in ENCODER_REGISTRY.
[INFO 2023-08-11 16:40:45,278 MainProcess] boa: Saved JSON-serialized state of optimization to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/scheduler.json`.
Boa version: 0.8.9.dev0+gad156f0.d20230811
[INFO 2023-08-11 16:40:45,302 MainProcess] boa: Saved optimization parametrization and objective to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/optimization.csv`.
[INFO 2023-08-11 16:40:45,326 MainProcess] boa: Trials so far: 37
Running trials:
Will Produce next trials from generation step: GPEI
Best trial so far: {35: {'Cosine8': -0.39059888072847143}}
[INFO 08-11 16:40:46] Scheduler: Running trials [37]...
[INFO 08-11 16:40:47] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:48] Scheduler: Running trials [38]...
[INFO 08-11 16:40:49] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:51] Scheduler: Running trials [39]...
[INFO 08-11 16:40:52] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:52] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 08-11 16:40:52] Scheduler: Retrieved COMPLETED trials: 37 - 39.
[INFO 08-11 16:40:52] Scheduler: Fetching data for trials: 37 - 39.
[ERROR 2023-08-11 16:40:52,221 MainProcess] boa: Object <wrapper.Wrapper object at 0x7ff6bc504580> passed to `object_to_json` (of type <class 'wrapper.Wrapper'>, module: wrapper) is not registered with a corresponding encoder in ENCODER_REGISTRY.
[INFO 2023-08-11 16:40:52,265 MainProcess] boa: Saved JSON-serialized state of optimization to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/scheduler.json`.
Boa version: 0.8.9.dev0+gad156f0.d20230811
[INFO 2023-08-11 16:40:52,290 MainProcess] boa: Saved optimization parametrization and objective to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/optimization.csv`.
[INFO 2023-08-11 16:40:52,315 MainProcess] boa: Trials so far: 40
Running trials:
Will Produce next trials from generation step: GPEI
Best trial so far: {38: {'Cosine8': -0.41337530780949894}}
[INFO 08-11 16:40:52] Scheduler: Running trials [40]...
[INFO 08-11 16:40:53] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:54] Scheduler: Running trials [41]...
[INFO 08-11 16:40:55] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:55] Scheduler: Running trials [42]...
[INFO 08-11 16:40:56] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:56] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 08-11 16:40:56] Scheduler: Retrieved COMPLETED trials: 40 - 42.
[INFO 08-11 16:40:56] Scheduler: Fetching data for trials: 40 - 42.
[ERROR 2023-08-11 16:40:56,626 MainProcess] boa: Object <wrapper.Wrapper object at 0x7ff6bc504580> passed to `object_to_json` (of type <class 'wrapper.Wrapper'>, module: wrapper) is not registered with a corresponding encoder in ENCODER_REGISTRY.
[INFO 2023-08-11 16:40:56,673 MainProcess] boa: Saved JSON-serialized state of optimization to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/scheduler.json`.
Boa version: 0.8.9.dev0+gad156f0.d20230811
[INFO 2023-08-11 16:40:56,698 MainProcess] boa: Saved optimization parametrization and objective to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/optimization.csv`.
[INFO 2023-08-11 16:40:56,724 MainProcess] boa: Trials so far: 43
Running trials:
Will Produce next trials from generation step: GPEI
Best trial so far: {40: {'Cosine8': -0.4876770936468809}}
[INFO 08-11 16:40:57] Scheduler: Running trials [43]...
[INFO 08-11 16:40:58] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:40:58] Scheduler: Running trials [44]...
[INFO 08-11 16:40:58] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:41:02] Scheduler: Running trials [45]...
[INFO 08-11 16:41:03] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:41:03] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 08-11 16:41:03] Scheduler: Retrieved COMPLETED trials: 43 - 45.
[INFO 08-11 16:41:03] Scheduler: Fetching data for trials: 43 - 45.
[ERROR 2023-08-11 16:41:03,791 MainProcess] boa: Object <wrapper.Wrapper object at 0x7ff6bc504580> passed to `object_to_json` (of type <class 'wrapper.Wrapper'>, module: wrapper) is not registered with a corresponding encoder in ENCODER_REGISTRY.
[INFO 2023-08-11 16:41:03,841 MainProcess] boa: Saved JSON-serialized state of optimization to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/scheduler.json`.
Boa version: 0.8.9.dev0+gad156f0.d20230811
[INFO 2023-08-11 16:41:03,868 MainProcess] boa: Saved optimization parametrization and objective to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/optimization.csv`.
[INFO 2023-08-11 16:41:03,895 MainProcess] boa: Trials so far: 46
Running trials:
Will Produce next trials from generation step: GPEI
Best trial so far: {40: {'Cosine8': -0.4876770936468809}}
[INFO 08-11 16:41:04] Scheduler: Running trials [46]...
[INFO 08-11 16:41:05] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:41:05] Scheduler: Running trials [47]...
[INFO 08-11 16:41:06] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:41:07] Scheduler: Running trials [48]...
[INFO 08-11 16:41:08] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 08-11 16:41:08] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 08-11 16:41:08] Scheduler: Retrieved COMPLETED trials: 46 - 48.
[INFO 08-11 16:41:08] Scheduler: Fetching data for trials: 46 - 48.
[ERROR 2023-08-11 16:41:08,183 MainProcess] boa: Object <wrapper.Wrapper object at 0x7ff6bc504580> passed to `object_to_json` (of type <class 'wrapper.Wrapper'>, module: wrapper) is not registered with a corresponding encoder in ENCODER_REGISTRY.
[INFO 2023-08-11 16:41:08,237 MainProcess] boa: Saved JSON-serialized state of optimization to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/scheduler.json`.
Boa version: 0.8.9.dev0+gad156f0.d20230811
[INFO 2023-08-11 16:41:08,265 MainProcess] boa: Saved optimization parametrization and objective to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/optimization.csv`.
[INFO 2023-08-11 16:41:08,294 MainProcess] boa: Trials so far: 49
Running trials:
Will Produce next trials from generation step: GPEI
Best trial so far: {40: {'Cosine8': -0.4876770936468809}}
[INFO 08-11 16:41:08] Scheduler: Running trials [49]...
[INFO 08-11 16:41:09] Scheduler: Retrieved COMPLETED trials: [49].
[INFO 08-11 16:41:09] Scheduler: Fetching data for trials: [49].
[ERROR 2023-08-11 16:41:09,911 MainProcess] boa: Object <wrapper.Wrapper object at 0x7ff6bc504580> passed to `object_to_json` (of type <class 'wrapper.Wrapper'>, module: wrapper) is not registered with a corresponding encoder in ENCODER_REGISTRY.
[INFO 2023-08-11 16:41:09,964 MainProcess] boa: Saved JSON-serialized state of optimization to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/scheduler.json`.
Boa version: 0.8.9.dev0+gad156f0.d20230811
[INFO 2023-08-11 16:41:09,991 MainProcess] boa: Saved optimization parametrization and objective to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/optimization.csv`.
[INFO 2023-08-11 16:41:10,020 MainProcess] boa: Trials so far: 50
Running trials:
Will Produce next trials from generation step: GPEI
Best trial so far: {49: {'Cosine8': -0.7415643011221071}}
[ERROR 2023-08-11 16:41:10,022 MainProcess] boa: Object <wrapper.Wrapper object at 0x7ff6bc504580> passed to `object_to_json` (of type <class 'wrapper.Wrapper'>, module: wrapper) is not registered with a corresponding encoder in ENCODER_REGISTRY.
[INFO 2023-08-11 16:41:10,075 MainProcess] boa: Saved JSON-serialized state of optimization to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/scheduler.json`.
Boa version: 0.8.9.dev0+gad156f0.d20230811
[INFO 2023-08-11 16:41:10,102 MainProcess] boa: Saved optimization parametrization and objective to `/home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928/optimization.csv`.
[INFO 2023-08-11 16:41:10,132 MainProcess] boa: Trials so far: 50
Running trials:
Will Produce next trials from generation step: GPEI
Best trial so far: {49: {'Cosine8': -0.7415643011221071}}
[INFO 2023-08-11 16:41:10,166 MainProcess] boa:
##############################################
Trials Completed!
BOA Experiment Run
Output Experiment Dir: /home/docs/checkouts/readthedocs.org/user_builds/pyboa/checkouts/0.8.8/docs/examples/boa_runs_20230811T163928
Start Time: 20230811T163928
Version: 0.8.9.dev0+gad156f0.d20230811
End Time: 20230811T164110
Total Run Time: 101.54146218299866
trial_index arm_name trial_status generation_method Cosine8 x0 \
0 0 0_0 COMPLETED Sobol 2.312574 0.641198
1 1 1_0 COMPLETED Sobol 4.114923 0.641329
2 2 2_0 COMPLETED Sobol 2.743053 0.551332
3 3 3_0 COMPLETED Sobol 3.850876 0.762454
4 4 4_0 COMPLETED Sobol 2.608688 0.667364
5 5 5_0 COMPLETED Sobol 1.974493 0.370491
6 6 6_0 COMPLETED Sobol 2.845052 0.826540
7 7 7_0 COMPLETED Sobol 3.698982 0.998682
8 8 8_0 COMPLETED Sobol 2.648915 0.238294
9 9 9_0 COMPLETED Sobol 2.944921 0.721314
10 10 10_0 COMPLETED Sobol 2.757180 0.592044
11 11 11_0 COMPLETED Sobol 0.439704 0.829978
12 12 12_0 COMPLETED Sobol 2.410136 0.482622
13 13 13_0 COMPLETED Sobol 2.120711 0.279927
14 14 14_0 COMPLETED Sobol 3.345619 0.802037
15 15 15_0 COMPLETED Sobol 2.464124 0.119684
16 16 16_0 COMPLETED GPEI 1.604220 0.306006
17 17 17_0 COMPLETED GPEI 2.551606 0.399276
18 18 18_0 COMPLETED GPEI 2.065649 0.426924
19 19 19_0 COMPLETED GPEI 0.698885 0.728773
20 20 20_0 COMPLETED GPEI 0.667193 0.922598
21 21 21_0 COMPLETED GPEI 0.286559 0.794509
22 22 22_0 COMPLETED GPEI 0.187087 0.770096
23 23 23_0 COMPLETED GPEI 0.245326 0.839955
24 24 24_0 COMPLETED GPEI 0.783128 0.889544
25 25 25_0 COMPLETED GPEI 0.287372 0.831902
26 26 26_0 COMPLETED GPEI 0.262830 0.795698
27 27 27_0 COMPLETED GPEI 0.198092 0.610418
28 28 28_0 COMPLETED GPEI -0.055638 0.726465
29 29 29_0 COMPLETED GPEI 0.535152 0.702919
30 30 30_0 COMPLETED GPEI 0.302196 0.703841
31 31 31_0 COMPLETED GPEI 0.057380 0.636298
32 32 32_0 COMPLETED GPEI 0.031672 0.609046
33 33 33_0 COMPLETED GPEI 0.120032 0.713692
34 34 34_0 COMPLETED GPEI -0.078771 0.611300
35 35 35_0 COMPLETED GPEI -0.390599 0.424837
36 36 36_0 COMPLETED GPEI -0.007368 0.743013
37 37 37_0 COMPLETED GPEI -0.216913 0.293198
38 38 38_0 COMPLETED GPEI -0.413375 0.259757
39 39 39_0 COMPLETED GPEI -0.039577 0.370922
40 40 40_0 COMPLETED GPEI -0.487677 0.338707
41 41 41_0 COMPLETED GPEI -0.307592 0.315678
42 42 42_0 COMPLETED GPEI -0.331300 0.318212
43 43 43_0 COMPLETED GPEI -0.322832 0.325220
44 44 44_0 COMPLETED GPEI -0.335872 0.321640
45 45 45_0 COMPLETED GPEI -0.349076 0.330138
46 46 46_0 COMPLETED GPEI -0.382313 0.316948
47 47 47_0 COMPLETED GPEI -0.453965 0.313889
48 48 48_0 COMPLETED GPEI -0.170774 0.257477
49 49 49_0 COMPLETED GPEI -0.741564 0.000000
x1 x2 x3 x4 x5 x6 x7
0 0.509851 0.643574 0.342344 0.184574 0.425460 0.147585 0.862826
1 0.760731 0.480517 0.655057 0.684032 0.827076 0.544816 0.953904
2 0.774817 0.270002 0.838295 0.303479 0.398621 0.623924 0.686079
3 0.626652 0.244818 0.945087 0.476822 0.015980 0.912887 0.904618
4 0.069686 0.309966 0.428322 0.674479 0.065950 0.976063 0.709459
5 0.162647 0.443520 0.874803 0.776729 0.574515 0.193187 0.012911
6 0.836006 0.405795 0.615118 0.402983 0.928199 0.394292 0.315527
7 0.450401 0.476324 0.747421 0.426451 0.997526 0.474534 0.571115
8 0.848735 0.798250 0.370319 0.317516 0.411909 0.985842 0.402288
9 0.492542 0.058900 0.811311 0.603035 0.736251 0.510693 0.658074
10 0.611893 0.585272 0.314436 0.294956 0.513611 0.711743 0.592482
11 0.281443 0.033115 0.072682 0.062373 0.297407 0.004131 0.031631
12 0.527160 0.647361 0.622111 0.506918 0.286399 0.813753 0.080078
13 0.069855 0.252951 0.039143 0.706080 0.626794 0.952211 0.365904
14 0.765988 0.656114 0.131441 0.004006 0.914584 0.668150 0.705632
15 0.800477 0.793525 0.912781 0.103097 0.050017 0.673922 0.391205
16 0.236585 0.311612 0.850725 0.684008 0.484447 0.106861 0.041178
17 0.061787 0.569153 0.908082 0.890039 0.639548 0.257491 0.000000
18 0.350156 0.524015 0.825132 0.697300 0.648393 0.198878 0.000000
19 0.278508 0.075984 0.179814 0.151707 0.305612 0.020328 0.038081
20 0.296312 0.001208 0.000000 0.000000 0.235847 0.000000 0.061872
21 0.244258 0.015352 0.020665 0.031567 0.430551 0.000000 0.000000
22 0.397701 0.000000 0.018507 0.000000 0.444187 0.000000 0.000000
23 0.097454 0.030576 0.025661 0.050534 0.402272 0.000000 0.000000
24 0.274802 0.000000 0.000000 0.167345 0.471483 0.000000 0.000000
25 0.029093 0.000000 0.168752 0.000000 0.393299 0.000000 0.000000
26 0.071508 0.171566 0.000000 0.000000 0.373140 0.000000 0.000000
27 0.469162 0.000000 0.000000 0.000000 0.389891 0.000000 0.000000
28 0.012555 0.001103 0.000000 0.000000 0.343452 0.000000 0.000000
29 0.514704 0.102717 0.067066 0.000000 0.424814 0.000000 0.000000
30 0.412734 0.000000 0.006987 0.000000 0.408757 0.135834 0.000000
31 0.000000 0.000000 0.000000 0.000000 0.353137 0.000000 0.104355
32 0.069241 0.000000 0.000000 0.000000 0.286211 0.000000 0.000000
33 0.000000 0.000000 0.000000 0.000000 0.310501 0.123906 0.000000
34 0.000000 0.000000 0.000000 0.000000 0.379317 0.000000 0.000000
35 0.000000 0.000000 0.000000 0.000000 0.444694 0.000000 0.000000
36 0.000000 0.016614 0.000000 0.000000 0.300016 0.000000 0.026812
37 0.000000 0.000000 0.000000 0.000000 0.514175 0.000000 0.000000
38 0.000000 0.000000 0.000000 0.000000 0.400080 0.000000 0.000000
39 0.082804 0.000000 0.000000 0.000000 0.580555 0.000000 0.000000
40 0.000000 0.000000 0.000000 0.000000 0.392457 0.000000 0.000000
41 0.000000 0.000000 0.000000 0.132048 0.386122 0.000000 0.000000
42 0.000000 0.119249 0.000000 0.000000 0.386589 0.000000 0.000000
43 0.000000 0.000000 0.129034 0.000000 0.380001 0.000000 0.000000
44 0.000000 0.000000 0.000000 0.000000 0.382723 0.119181 0.000000
45 0.111965 0.000000 0.000000 0.000000 0.394956 0.000000 0.000000
46 0.000000 0.000000 0.000000 0.000000 0.372418 0.000000 0.091813
47 0.000000 0.000000 0.000000 0.000000 0.322792 0.000000 0.000000
48 0.000000 0.000000 0.000000 0.000000 0.332580 0.000000 0.198456
49 0.000000 0.000000 0.000000 0.000000 0.069306 0.000000 0.000000
##############################################
Get the Best Trial and Output All Trials#
best_fitted_trials uses the data to do a fitting from all trials and with the noise levels you provided (or if no noise levels was provided, it assumed an unknown level of noise and inferred the noise level from the trial runs)
1trial = scheduler.best_fitted_trials()
2trial
{49: {'params': {'x0': 0.0,
'x1': 0.0,
'x2': 0.0,
'x3': 0.0,
'x4': 0.0,
'x5': 0.06930601680758236,
'x6': 0.0,
'x7': 0.0},
'means': {'Cosine8': -0.7415530059322104},
'cov_matrix': {'Cosine8': {'Cosine8': 1.9949218571485418e-06}}}}
if you need the exact points of the best trial, maybe because you need the trial number of the best trial to plot results, or for any other reason, best_raw_trails does not do any fitting
1trial = scheduler.best_raw_trials()
2trial
{49: {'params': {'x0': 0.0,
'x1': 0.0,
'x2': 0.0,
'x3': 0.0,
'x4': 0.0,
'x5': 0.06930601680758236,
'x6': 0.0,
'x7': 0.0},
'means': {'Cosine8': -0.7415643011221071},
'cov_matrix': {'Cosine8': {'Cosine8': 0.0}}}}
Output a DataFrame of All Trials#
1boa.scheduler_to_df(scheduler)
| trial_index | arm_name | trial_status | generation_method | Cosine8 | x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0_0 | COMPLETED | Sobol | 2.312574 | 0.641198 | 0.509851 | 0.643574 | 0.342344 | 0.184574 | 0.425460 | 0.147585 | 0.862826 |
| 1 | 1 | 1_0 | COMPLETED | Sobol | 4.114923 | 0.641329 | 0.760731 | 0.480517 | 0.655057 | 0.684032 | 0.827076 | 0.544816 | 0.953904 |
| 2 | 2 | 2_0 | COMPLETED | Sobol | 2.743053 | 0.551332 | 0.774817 | 0.270002 | 0.838295 | 0.303479 | 0.398621 | 0.623924 | 0.686079 |
| 3 | 3 | 3_0 | COMPLETED | Sobol | 3.850876 | 0.762454 | 0.626652 | 0.244818 | 0.945087 | 0.476822 | 0.015980 | 0.912887 | 0.904618 |
| 4 | 4 | 4_0 | COMPLETED | Sobol | 2.608688 | 0.667364 | 0.069686 | 0.309966 | 0.428322 | 0.674479 | 0.065950 | 0.976063 | 0.709459 |
| 5 | 5 | 5_0 | COMPLETED | Sobol | 1.974493 | 0.370491 | 0.162647 | 0.443520 | 0.874803 | 0.776729 | 0.574515 | 0.193187 | 0.012911 |
| 6 | 6 | 6_0 | COMPLETED | Sobol | 2.845052 | 0.826540 | 0.836006 | 0.405795 | 0.615118 | 0.402983 | 0.928199 | 0.394292 | 0.315527 |
| 7 | 7 | 7_0 | COMPLETED | Sobol | 3.698982 | 0.998682 | 0.450401 | 0.476324 | 0.747421 | 0.426451 | 0.997526 | 0.474534 | 0.571115 |
| 8 | 8 | 8_0 | COMPLETED | Sobol | 2.648915 | 0.238294 | 0.848735 | 0.798250 | 0.370319 | 0.317516 | 0.411909 | 0.985842 | 0.402288 |
| 9 | 9 | 9_0 | COMPLETED | Sobol | 2.944921 | 0.721314 | 0.492542 | 0.058900 | 0.811311 | 0.603035 | 0.736251 | 0.510693 | 0.658074 |
| 10 | 10 | 10_0 | COMPLETED | Sobol | 2.757180 | 0.592044 | 0.611893 | 0.585272 | 0.314436 | 0.294956 | 0.513611 | 0.711743 | 0.592482 |
| 11 | 11 | 11_0 | COMPLETED | Sobol | 0.439704 | 0.829978 | 0.281443 | 0.033115 | 0.072682 | 0.062373 | 0.297407 | 0.004131 | 0.031631 |
| 12 | 12 | 12_0 | COMPLETED | Sobol | 2.410136 | 0.482622 | 0.527160 | 0.647361 | 0.622111 | 0.506918 | 0.286399 | 0.813753 | 0.080078 |
| 13 | 13 | 13_0 | COMPLETED | Sobol | 2.120711 | 0.279927 | 0.069855 | 0.252951 | 0.039143 | 0.706080 | 0.626794 | 0.952211 | 0.365904 |
| 14 | 14 | 14_0 | COMPLETED | Sobol | 3.345619 | 0.802037 | 0.765988 | 0.656114 | 0.131441 | 0.004006 | 0.914584 | 0.668150 | 0.705632 |
| 15 | 15 | 15_0 | COMPLETED | Sobol | 2.464124 | 0.119684 | 0.800477 | 0.793525 | 0.912781 | 0.103097 | 0.050017 | 0.673922 | 0.391205 |
| 16 | 16 | 16_0 | COMPLETED | GPEI | 1.604220 | 0.306006 | 0.236585 | 0.311612 | 0.850725 | 0.684008 | 0.484447 | 0.106861 | 0.041178 |
| 17 | 17 | 17_0 | COMPLETED | GPEI | 2.551606 | 0.399276 | 0.061787 | 0.569153 | 0.908082 | 0.890039 | 0.639548 | 0.257491 | 0.000000 |
| 18 | 18 | 18_0 | COMPLETED | GPEI | 2.065649 | 0.426924 | 0.350156 | 0.524015 | 0.825132 | 0.697300 | 0.648393 | 0.198878 | 0.000000 |
| 19 | 19 | 19_0 | COMPLETED | GPEI | 0.698885 | 0.728773 | 0.278508 | 0.075984 | 0.179814 | 0.151707 | 0.305612 | 0.020328 | 0.038081 |
| 20 | 20 | 20_0 | COMPLETED | GPEI | 0.667193 | 0.922598 | 0.296312 | 0.001208 | 0.000000 | 0.000000 | 0.235847 | 0.000000 | 0.061872 |
| 21 | 21 | 21_0 | COMPLETED | GPEI | 0.286559 | 0.794509 | 0.244258 | 0.015352 | 0.020665 | 0.031567 | 0.430551 | 0.000000 | 0.000000 |
| 22 | 22 | 22_0 | COMPLETED | GPEI | 0.187087 | 0.770096 | 0.397701 | 0.000000 | 0.018507 | 0.000000 | 0.444187 | 0.000000 | 0.000000 |
| 23 | 23 | 23_0 | COMPLETED | GPEI | 0.245326 | 0.839955 | 0.097454 | 0.030576 | 0.025661 | 0.050534 | 0.402272 | 0.000000 | 0.000000 |
| 24 | 24 | 24_0 | COMPLETED | GPEI | 0.783128 | 0.889544 | 0.274802 | 0.000000 | 0.000000 | 0.167345 | 0.471483 | 0.000000 | 0.000000 |
| 25 | 25 | 25_0 | COMPLETED | GPEI | 0.287372 | 0.831902 | 0.029093 | 0.000000 | 0.168752 | 0.000000 | 0.393299 | 0.000000 | 0.000000 |
| 26 | 26 | 26_0 | COMPLETED | GPEI | 0.262830 | 0.795698 | 0.071508 | 0.171566 | 0.000000 | 0.000000 | 0.373140 | 0.000000 | 0.000000 |
| 27 | 27 | 27_0 | COMPLETED | GPEI | 0.198092 | 0.610418 | 0.469162 | 0.000000 | 0.000000 | 0.000000 | 0.389891 | 0.000000 | 0.000000 |
| 28 | 28 | 28_0 | COMPLETED | GPEI | -0.055638 | 0.726465 | 0.012555 | 0.001103 | 0.000000 | 0.000000 | 0.343452 | 0.000000 | 0.000000 |
| 29 | 29 | 29_0 | COMPLETED | GPEI | 0.535152 | 0.702919 | 0.514704 | 0.102717 | 0.067066 | 0.000000 | 0.424814 | 0.000000 | 0.000000 |
| 30 | 30 | 30_0 | COMPLETED | GPEI | 0.302196 | 0.703841 | 0.412734 | 0.000000 | 0.006987 | 0.000000 | 0.408757 | 0.135834 | 0.000000 |
| 31 | 31 | 31_0 | COMPLETED | GPEI | 0.057380 | 0.636298 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.353137 | 0.000000 | 0.104355 |
| 32 | 32 | 32_0 | COMPLETED | GPEI | 0.031672 | 0.609046 | 0.069241 | 0.000000 | 0.000000 | 0.000000 | 0.286211 | 0.000000 | 0.000000 |
| 33 | 33 | 33_0 | COMPLETED | GPEI | 0.120032 | 0.713692 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.310501 | 0.123906 | 0.000000 |
| 34 | 34 | 34_0 | COMPLETED | GPEI | -0.078771 | 0.611300 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.379317 | 0.000000 | 0.000000 |
| 35 | 35 | 35_0 | COMPLETED | GPEI | -0.390599 | 0.424837 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.444694 | 0.000000 | 0.000000 |
| 36 | 36 | 36_0 | COMPLETED | GPEI | -0.007368 | 0.743013 | 0.000000 | 0.016614 | 0.000000 | 0.000000 | 0.300016 | 0.000000 | 0.026812 |
| 37 | 37 | 37_0 | COMPLETED | GPEI | -0.216913 | 0.293198 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.514175 | 0.000000 | 0.000000 |
| 38 | 38 | 38_0 | COMPLETED | GPEI | -0.413375 | 0.259757 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.400080 | 0.000000 | 0.000000 |
| 39 | 39 | 39_0 | COMPLETED | GPEI | -0.039577 | 0.370922 | 0.082804 | 0.000000 | 0.000000 | 0.000000 | 0.580555 | 0.000000 | 0.000000 |
| 40 | 40 | 40_0 | COMPLETED | GPEI | -0.487677 | 0.338707 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.392457 | 0.000000 | 0.000000 |
| 41 | 41 | 41_0 | COMPLETED | GPEI | -0.307592 | 0.315678 | 0.000000 | 0.000000 | 0.000000 | 0.132048 | 0.386122 | 0.000000 | 0.000000 |
| 42 | 42 | 42_0 | COMPLETED | GPEI | -0.331300 | 0.318212 | 0.000000 | 0.119249 | 0.000000 | 0.000000 | 0.386589 | 0.000000 | 0.000000 |
| 43 | 43 | 43_0 | COMPLETED | GPEI | -0.322832 | 0.325220 | 0.000000 | 0.000000 | 0.129034 | 0.000000 | 0.380001 | 0.000000 | 0.000000 |
| 44 | 44 | 44_0 | COMPLETED | GPEI | -0.335872 | 0.321640 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.382723 | 0.119181 | 0.000000 |
| 45 | 45 | 45_0 | COMPLETED | GPEI | -0.349076 | 0.330138 | 0.111965 | 0.000000 | 0.000000 | 0.000000 | 0.394956 | 0.000000 | 0.000000 |
| 46 | 46 | 46_0 | COMPLETED | GPEI | -0.382313 | 0.316948 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.372418 | 0.000000 | 0.091813 |
| 47 | 47 | 47_0 | COMPLETED | GPEI | -0.453965 | 0.313889 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.322792 | 0.000000 | 0.000000 |
| 48 | 48 | 48_0 | COMPLETED | GPEI | -0.170774 | 0.257477 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.332580 | 0.000000 | 0.198456 |
| 49 | 49 | 49_0 | COMPLETED | GPEI | -0.741564 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.069306 | 0.000000 | 0.000000 |