Nearly all other configs follow the form:
{
"class": "class.name",
"config": {
...
}
}
The optimizer json schema intermingles a few things though:
{
"class": "mlos_bench.optimizers.MlosCoreOptimizer",
"config": {
"optimizer_type": "SMAC",
"n_random_init": 10 // <-- this isn't valid if optimizer_type is "FLAML"
}
}
Instead it should really be:
{
"class": "mlos_bench.optimizers.MlosCoreOptimizer",
"config": {
"optimizer_type": "SMAC",
"optimizer_args": {
"n_random_init": 10
}
}
}
Which is what we do for space_adapter_args for instance.
Nearly all other configs follow the form:
{ "class": "class.name", "config": { ... } }The optimizer json schema intermingles a few things though:
{ "class": "mlos_bench.optimizers.MlosCoreOptimizer", "config": { "optimizer_type": "SMAC", "n_random_init": 10 // <-- this isn't valid if optimizer_type is "FLAML" } }Instead it should really be:
{ "class": "mlos_bench.optimizers.MlosCoreOptimizer", "config": { "optimizer_type": "SMAC", "optimizer_args": { "n_random_init": 10 } } }Which is what we do for
space_adapter_argsfor instance.