@@ -16,6 +16,7 @@ def fun_control_init(
1616 SUMMARY_WRITER = True ,
1717 accelerator = "auto" ,
1818 converters = None ,
19+ core_model = None ,
1920 data = None ,
2021 data_dir = "./data" ,
2122 data_module = None ,
@@ -35,10 +36,12 @@ def fun_control_init(
3536 metric_sklearn = None ,
3637 noise = False ,
3738 n_points = 1 ,
39+ n_samples = None ,
3840 num_workers = 0 ,
3941 ocba_delta = 0 ,
4042 oml_grace_period = None ,
4143 optimizer = None ,
44+ prep_model = None ,
4245 seed = 123 ,
4346 show_models = False ,
4447 show_progress = True ,
@@ -69,6 +72,10 @@ def fun_control_init(
6972 The accelerator to be used by the Lighting Trainer.
7073 It can be either "auto", "dp", "ddp", "ddp2", "ddp_spawn", "ddp_cpu", "gpu", "tpu".
7174 Default is "auto".
75+ converters (dict):
76+ A dictionary containing the converters. Default is None.
77+ core_model (object):
78+ The core model object. Default is None.
7279 data (object):
7380 The data object. Default is None.
7481 data_dir (str):
@@ -120,6 +127,8 @@ def fun_control_init(
120127 Affects the repeat of the function evaluations.
121128 n_points (int):
122129 The number of infill points to be generated by the surrogate in each iteration.
130+ n_samples (int):
131+ The number of samples in the dataset. Default is None.
123132 num_workers (int):
124133 The number of workers to use for the data loading. Default is 0.
125134 ocba_delta (int):
@@ -132,6 +141,8 @@ def fun_control_init(
132141 PREFIX (str):
133142 The prefix of the experiment name. If the PREFIX is not None, a spotWriter
134143 that us an instance of a SummaryWriter(), is created. Default is None.
144+ prep_model (object):
145+ The preprocessing model object. Used for river. Default is None.
135146 seed (int):
136147 The seed to use for the random number generator. Default is 123.
137148 sigma (float):
@@ -281,6 +292,8 @@ def fun_control_init(
281292 "_L_in" : _L_in ,
282293 "_L_out" : _L_out ,
283294 "accelerator" : accelerator ,
295+ "converters" : converters ,
296+ "core_model" : core_model ,
284297 "counter" : 0 ,
285298 "data" : data ,
286299 "data_dir" : data_dir ,
@@ -308,13 +321,13 @@ def fun_control_init(
308321 "model_dict" : {},
309322 "noise" : noise ,
310323 "n_points" : n_points ,
311- "n_samples" : None ,
324+ "n_samples" : n_samples ,
312325 "num_workers" : num_workers ,
313326 "ocba_delta" : ocba_delta ,
314327 "oml_grace_period" : oml_grace_period ,
315328 "optimizer" : optimizer ,
316329 "path" : None ,
317- "prep_model" : None ,
330+ "prep_model" : prep_model ,
318331 "save_model" : False ,
319332 "seed" : seed ,
320333 "show_batch_interval" : 1_000_000 ,
0 commit comments