Ax: Hierarchical search spaces

Created on 7 Aug 2019  路  6Comments  路  Source: facebook/Ax

Is there a way to define a hierarchy of parameters?
for example a parameter that chooses architecture, and each architecture has its own parameters.

example (pseudo code):

architecture = choise(["NeuralNetwork","xgdboost"])

if architecture=="NeuralNetwork":
     n_layers = choise(range(1,10,1))
     #more architecture releted params here.

else if  architecture=="xgdboost":
    max_depth =  choise(range(1,5,1))
     #more architecture releted params here.

enhancement wishlist

Most helpful comment

Yes, this would be a great addition! I have a similar usecase - after hyperparameter optimization choose the right threshold for classification.

All 6 comments

Hi @yonatanMedan! Great question. We don't currently support this, but it's on our roadmap to support in the next few months. I'll let you know when it's ready!

Yes, this would be a great addition! I have a similar usecase - after hyperparameter optimization choose the right threshold for classification.

This enhancement would be super helpful in my use case where I want to experiments with different learning rate schedulers, where the parameters used by the schedulers are different.

Hi! Are there some estimates when this functionality will be available?

Hi @LyzhinIvan ! Unfortunately, probably not in the immediate short-term. This has been deprioritized in favor of other efforts. However it's certainly still on our roadmap! cc @2timesjay

We will now be tracking wishlist items / feature requests in a master issue for improved visibility: #566. Of course please feel free to still open new feature requests issues; we'll take care of thinking them through and adding them to the master issue.

Was this page helpful?
0 / 5 - 0 ratings