Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add warmstart test #298

Merged
merged 6 commits into from
Nov 21, 2021
Merged

add warmstart test #298

merged 6 commits into from
Nov 21, 2021

Conversation

qingyun-wu
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@sonichi sonichi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the starting point as init_value in case one forgets to pass starting_points. Not necessary in this example.

hps_to_search = {
"n_estimators": {
"domain": tune.lograndint(lower=10, upper=32768),
"init_value": 32768,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"init_value": 32768,
"init_value": space["n_estimators"]["domain"],

},
"num_leaves": {
"domain": tune.lograndint(lower=10, upper=3276),
"init_value": 3276,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"init_value": 3276,
"init_value": space["num_leaves"]["domain"],

def test_fit_w_freezinghp_starting_point(self, as_frame=True):
automl_experiment = AutoML()
automl_settings = {
"time_budget": 3,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"time_budget": 3,
"time_budget": 1,

)
starting_points[new_estimator_name] = starting_points["lgbm"]
automl_settings_resume = {
"time_budget": 3,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"time_budget": 3,
"time_budget": 1,

@qingyun-wu qingyun-wu merged commit 49f9e9f into microsoft:main Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants