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

Getting optimal parameters after a study is complete #122

Closed
vinaykakade opened this issue Jun 19, 2018 · 9 comments
Closed

Getting optimal parameters after a study is complete #122

vinaykakade opened this issue Jun 19, 2018 · 9 comments

Comments

@vinaykakade
Copy link
Contributor

Is there a recommended way of getting the optimal parameters when a study is complete? For example, it would be useful to get the parameters that have the maximum (or minimum) value for a the objective metric once the study is complete, so that the model could be further trained with those parameters.

@jlewi
Copy link
Contributor

jlewi commented Jul 7, 2018

@YujiOshima @gaocegege Do you know the answer?

@jlewi
Copy link
Contributor

jlewi commented Oct 9, 2018

@YujiOshima ping?

@YujiOshima
Copy link
Contributor

@vinaykakade Do you mean retrain or fine-tuning?
If you mean retrain, the Hyperparameters are needed.
It is store Katib DB and you can find in KatibUI or get Katib API.

For fine-tuning, the trained weight parameters are needed.
It is not managed in Katib now.
It is exactly the experimental tracking area. (discussed here kubeflow/community#195 )
Katib will integrate Model management(StudioML or MLFlow) and the model data will be managed there.

@vinaykakade
Copy link
Contributor Author

I meant for retraining. We are currently iterating on the study results and determine the winning combination, but it would be nice to support this in katib itself so that each of katib's customers don't need to implement the same functionality.

@YujiOshima
Copy link
Contributor

@vinaykakade I agree. Easy to retraining is very useful.
How about introducing a one-shot job API.
We can specify a Trial ID or parameters directly, and it will be evaluated without any suggestion service.

@hougangliu
Copy link
Member

I think #312 solved this requirement.
After studyJob completed, user can get bestTrialId from studyJob.Status.BestTrialID. Then call grpc api GetTrial to get trial detail which includes optimal parameters. For example:

    with grpc.insecure_channel('localhost:6790') as channel:
        stub = api_pb2_grpc.ManagerStub(channel)
        response = stub.GetTrial(api_pb2.GetTrialRequest(trial_id="n51572c70f020c3d"))

@YujiOshima
Copy link
Contributor

@hougangliu I think it is not enough. We need to add a one-shot job API for specific trial ID. I will work on it.
/assign @YujiOshima

@richardsliu
Copy link
Contributor

We can close this one since the design for v1alpha2 API covers this. Implementation will be completed in 0.6.

/close

@k8s-ci-robot
Copy link

@richardsliu: Closing this issue.

In response to this:

We can close this one since the design for v1alpha2 API covers this. Implementation will be completed in 0.6.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants