Closed zuttonetetai closed 1 year ago
This is because of early stop in training to meet the time constraint.
@sonichi
Thank you for your response.
This is because of early stop in training to meet the time constraint.
Is it not possible to specify a range of values for n_estimators in flaml with time_budget set?
You can specify it and the configuration is indeed sampled from the specified range. But early stop in training can happen to meet the time constraint.
@sonichi
You can specify it and the configuration is indeed sampled from the specified range. But early stop in training can happen to meet the time constraint.
I understood it. I have tried and confirmed that by increasing the time_budget, the n_estimators in automl.model.estimator.get_params and the values in automl.best_config["n_estimators"] match. Thank you very much. I close this isuue.
I am trying to create a model with boston housing dataset with custom_hp set and lightgbm n_estimators restricted. I have specified lightgbm as the algorithm, and when I check the hyperparameters in automl.model.estimator.get_params, I confirm that they are different from the values in automl.best_config["n_estimators"]. (For num_leaves, the result of automl.model.estimator.get_params and the value in automl.best_config["num_leaves"] match.) Why is this problem occurring? Is it a bug?