You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should also be included in the results folder naming scheme.
Since the Error Grids are not used for fixed strategy experiments, it can/should be omitted in those cases.
Once included when saving, it should also be included in the results parsing.
A small bit of WIP to implement this:
---a/scripts/experiments/2020-11-05-simple-mfbo.py+++b/scripts/experiments/2020-11-05-simple-mfbo.py
@@ -91,8+91,12 @@ defmain(args):
print(func.name)
foridx, cost_ratio, experimentinproduct(range(args.niters), args.cost_ratio, args.experiment):
++ifexperiment!='fixed':
+experiment=f'{experiment}-egi{args.eg_interval}'kwargs['seed_offset'] =idxkwargs['cost_ratio'] =cost_ratio+kwargs['eg_interval'] =args.eg_intervalkwargs['run_save_dir'] =save_dir/FOLDER_NAME_TEMPLATE.format(
func_name=func.name,
name=experiment,
@@ -134,6+138,8 @@ if__name__=='__main__':
help="Stop optimization when optimum reached based on function's `x_opt`")
parser.add_argument('--cache-models', action='store_true',
help="Cache models when building an error grid. NOTE: requires 200+GB RAM")
+parser.add_argument('--eg-interval', type=int, default=[1], nargs='*',
+help="Error Grid Sampling interval, ignored . Default: 1")
arguments=parser.parse_args()
The text was updated successfully, but these errors were encountered:
This should also be included in the results folder naming scheme.
Since the Error Grids are not used for
fixed
strategy experiments, it can/should be omitted in those cases.Once included when saving, it should also be included in the results parsing.
A small bit of WIP to implement this:
The text was updated successfully, but these errors were encountered: