-
Notifications
You must be signed in to change notification settings - Fork 448
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
Early Stopping Implementation #1344
Conversation
@gaocegege @johnugeorge I still need to add/fix unit test and verify some e2e tests. In the meantime, can you start to review it, please ? Few notes:
If Python command is failed, it checks that So, the metrics collector workflow (with main proc PID = 7) is that:
Let me know what do you think. |
/retest |
1 similar comment
/retest |
f3c8279
to
cecc99a
Compare
/retest |
/retest |
I have tested Early Stopping on several CRDs.
I removed WIP status, please take a look @gaocegege @johnugeorge. /cc @terrytangyuan |
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andreyvelich The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
4509290
to
731feef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM
9193b1d
to
73dbf2f
Compare
73dbf2f
to
17edec6
Compare
After discussion with @johnugeorge, we decide to make few changes in APIs. To be consistent between AutoML Algorithm and Early Stopping, type ExperimentSpec struct {
Algorithm *common.AlgorithmSpec `json:"algorithm,omitempty"`
EarlyStopping *common.EarlyStoppingSpec `json:"earlyStopping,omitempty"`
}
type SuggestionSpec struct {
Algorithm *common.AlgorithmSpec `json:"algorithm"`
EarlyStopping *common.EarlyStoppingSpec `json:"earlyStopping,omitempty"`
}
type AlgorithmSpec struct {
AlgorithmName string `json:"algorithmName,omitempty"`
AlgorithmSettings []AlgorithmSetting `json:"algorithmSettings,omitempty"`
}
type AlgorithmSetting struct {
Name string `json:"name,omitempty"`
Value string `json:"value,omitempty"`
}
type EarlyStoppingSpec struct {
AlgorithmName string `json:"algorithmName,omitempty"`
AlgorithmSettings []EarlyStoppingSetting `json:"algorithmSettings,omitempty"`
}
type EarlyStoppingSetting struct {
Name string `json:"name,omitempty"`
Value string `json:"value,omitempty"`
} Original AutoML algorithm settings are located in @gaocegege @johnugeorge What do you think about these APIs? |
LGTM The new API is clean. |
I finished Median stop implementation, @gaocegege @johnugeorge Can you take a look, please? I made few changes according to the paper: https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/46180.pdf.
|
@andreyvelich: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
@johnugeorge @gaocegege If you don't have any objections on this PR, can you give your lgtm and we can make other changes in the following PRs? |
/lgtm Tried it yesterday. |
Thanks for your contribution! 🎉 👍 |
Related: #1330.
I started Early Stopping implementation with API changes.
@gaocegege @johnugeorge Please let me know what do you think about these APIs.
I will work on the controller changes in this PR also.