zoo.automl.config package¶
Submodules¶
zoo.automl.config.recipe module¶
-
class
zoo.automl.config.recipe.BayesRecipe(num_samples=1, look_back=2, epochs=5, reward_metric=-0.05, training_iteration=5)[source]¶ Bases:
zoo.automl.config.recipe.Recipe- A Bayes search Recipe. (Experimental)
- tsp = TimeSequencePredictor(…,recipe = BayesRecipe(5))
-
class
zoo.automl.config.recipe.GridRandomRecipe(num_rand_samples=1, look_back=2, epochs=5, training_iteration=10)[source]¶ Bases:
zoo.automl.config.recipe.Recipe- A recipe involves both grid search and random search.
- tsp = TimeSequencePredictor(…,recipe = GridRandomRecipe(1))
-
class
zoo.automl.config.recipe.LSTMGridRandomRecipe(num_rand_samples=1, epochs=5, training_iteration=10, look_back=2, lstm_1_units=[16, 32, 64, 128], lstm_2_units=[16, 32, 64], batch_size=[32, 64])[source]¶ Bases:
zoo.automl.config.recipe.Recipe- A recipe involves both grid search and random search, only for LSTM.
- tsp = TimeSequencePredictor(…,recipe = LSTMGridRandomRecipe(1))
-
class
zoo.automl.config.recipe.MTNetGridRandomRecipe(num_rand_samples=1, epochs=5, training_iteration=10, time_step=[3, 4], long_num=[3, 4], cnn_height=[2, 3], cnn_hid_size=[32, 50, 100], ar_size=[2, 3], batch_size=[32, 64])[source]¶ Bases:
zoo.automl.config.recipe.RecipeGrid+Random Recipe for MTNet
-
class
zoo.automl.config.recipe.MTNetSmokeRecipe[source]¶ Bases:
zoo.automl.config.recipe.RecipeA very simple Recipe for smoke test that runs one epoch and one iteration with only 1 random sample.
-
class
zoo.automl.config.recipe.PastSeqParamHandler[source]¶ Bases:
objectUtility to handle PastSeq Param
-
class
zoo.automl.config.recipe.RandomRecipe(num_rand_samples=1, look_back=2, epochs=5, reward_metric=-0.05, training_iteration=10)[source]¶ Bases:
zoo.automl.config.recipe.Recipe- Pure random sample Recipe. Often used as baseline.
- tsp = TimeSequencePredictor(…,recipe = RandomRecipe(5))
-
class
zoo.automl.config.recipe.SmokeRecipe[source]¶ Bases:
zoo.automl.config.recipe.RecipeA very simple Recipe for smoke test that runs one epoch and one iteration with only 1 random sample.
-
class
zoo.automl.config.recipe.XgbRegressorGridRandomRecipe(num_rand_samples=1, n_estimators=[8, 15], max_depth=[10, 15], n_jobs=-1, tree_method='hist', random_state=2, seed=0, lr=(0.0001, 0.1), subsample=0.8, colsample_bytree=0.8, min_child_weight=[1, 2, 3], gamma=0, reg_alpha=0, reg_lambda=1)[source]¶