Closed otsaw closed 2 years ago
All of the parameters that you do not specify will be filled with their default parameter values.
Instead of the default value, I'd like to get the default grid search for those, so that the unspecified parameters would be optimized.
Hey @otsaw, we have been thinking of adding an "autogrid" config option that will allow you to customize the default hyperparameter grid.
For example, to restrict the default grid to linear models, you would be able to do something like this:
{
"train": {
"autogrid": {
"model_types": ["linear"]
}
}
}
For more complex cases like your example with min_examples_per_node
, I think that will be best supported by training directly from python, when #12 is implemented.
How does that sound?
That sounds good :+1:
I have two potential use cases where I'd like to fix a single parameter value, but otherwise get the full default parameter grid. If I understand correctly, currently I'd have to specify that full grid in quite verbose JSON, which is a bit much.
min_examples_per_node
to more than the upsampling replication count. I'd like to set that but otherwise get the default grid.If you want to keep the CLI simple, having these via Python (#12) would be fine for me too.