Skip to content

Commit

Permalink
separate search alg and schedulers from recipe (intel-analytics#3041)
Browse files Browse the repository at this point in the history
* seperate search alg and schedulers from fixed recipe

* add corresponding docs and expose to zouwu AutoTrainer
  • Loading branch information
shanyu-sys committed Nov 9, 2020
1 parent d2f0cda commit 4ef8880
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion python/orca/example/automl/AutoXGBoostClassifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,17 @@

estimator = AutoXGBoost().classifier(feature_cols=input_cols,
target_col="ArrDelayBinary",
config=config)
config=config,
search_alg="skopt",
search_alg_params=None,
scheduler="AsyncHyperBand",
scheduler_params=dict(
max_t=50,
grace_period=1,
reduction_factor=3,
brackets=3,
),
)

import time
start = time.time()
Expand Down

0 comments on commit 4ef8880

Please sign in to comment.