-
Notifications
You must be signed in to change notification settings - Fork 454
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 string values for categorical parameter in Grid Suggestion #1124
Comments
Issue-Label Bot is automatically applying the labels:
Please mark this comment with 👍 or 👎 to give our bot feedback! |
Hey @andreyvelich I was testing some grid experiments and this has been my experience:
So I don't get what is the underlying behaviour, can you explain why this is happening? |
Yes, for me it works as well. Only problem with the strings values. As I said above, we can convert these values to appropriate list of integer values and match them when we create Assignment for the Trial.
How many This can happen because Chocolate suggestion has generated all possible combination of parameters from the Search Space. After this PR, inside suggestion sqlite3 DB, you should see all parameters that Chocolate suggestion was generated with correct Chocolate ID (ID of generated set of parameters). |
The |
@andreyvelich I tested the new image and indeed the search space is explored even with categorical arguments. Also the logging is much improved! So, now when the search space is exhausted, but the goal is not reached and also max trial count is not reaches, the suggestions pod still outputs I am willing to help for this and send PR, maybe can you give me some pointers? |
/assign @andreyvelich |
/kind feature
User can't specify string values for Grid suggestion in Categorical parameter.
Currently, our Chocolate suggestion supports only int or float values for the list in Categorical parameter. See here: https://github.com/kubeflow/katib/blob/master/examples/v1alpha3/grid-example.yaml#L37.
User should be able to specify any values in the list.
We can convert string values from the list to integers and save them in Chocolate DB.
The text was updated successfully, but these errors were encountered: