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

Support conditional parameters in hyperparameters_tunning jobs #1189

Closed
tsvisab opened this issue May 1, 2022 · 0 comments · Fixed by #1544
Closed

Support conditional parameters in hyperparameters_tunning jobs #1189

tsvisab opened this issue May 1, 2022 · 0 comments · Fixed by #1544
Assignees
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API. 🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@tsvisab
Copy link

tsvisab commented May 1, 2022

Hey!
I would like to pass hyperparameters spec which include conditional parameters as well as their parent parameter,
I have a silly example (Btw, should i only include the parent HPT?):

{ "C_A": { "conditional_parameter_spec": None, "parent_values": {"values": ["type_a"]}, "min": 0.001, "max": 1, "scale": "log", "spec_param_type": "DoubleParameterSpec", }, "C_B": { "conditional_parameter_spec": None, "parent_values": {"values": ["type_a"]}, "min": 0, "max": 1, "scale": "linear", "spec_param_type": "DoubleParameterSpec", }, "C_C": { "conditional_parameter_spec": None, "parent_values": None, "values": [64, 128, 512], "scale": "linear", "spec_param_type": "DiscreteParameterSpec", }, "model_type": { "conditional_parameter_spec": [ { "conditional_parameter_spec": None, "parent_values": {"values": ["type_a"]}, "min": 0.001, "max": 1, "scale": "log", "spec_param_type": "DoubleParameterSpec", }, { "conditional_parameter_spec": None, "parent_values": {"values": ["type_a"]}, "min": 0, "max": 1, "scale": "linear", "spec_param_type": "DoubleParameterSpec", }, ], "parent_values": None, "values": ["type_a", "type_b"], "spec_param_type": "CategoricalParameterSpec", }, }

so, i would be very happy if you could implement this as it seems it's in your TODO's

Also, it would be very much needed if you could provide a correct json example for running a hyperparameter job , there are several ways to run those but i'm using this one

@yoshi-automation yoshi-automation added the triage me I really want to be triaged. label May 2, 2022
@parthea parthea added the api: aiplatform Issues related to the AI Platform API. label May 2, 2022
@product-auto-label product-auto-label bot added api: vertex-ai Issues related to the googleapis/python-aiplatform API. and removed api: aiplatform Issues related to the AI Platform API. labels May 5, 2022
@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label May 6, 2022
@rosiezou rosiezou self-assigned this Jul 18, 2022
@rosiezou rosiezou linked a pull request Jul 27, 2022 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API. 🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants