-
Notifications
You must be signed in to change notification settings - Fork 73
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
Disable interpolation in HCAD cold start #575
Conversation
Previously, we used interpolation in HCAD cold start for the purpose of efficiency. This caused problems for model accuracy. This PR removes interpolation in the cold start step. Testing done: 1. added unit tests to verify precision boosted. Signed-off-by: Kaituo Li <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #575 +/- ##
============================================
- Coverage 79.03% 79.00% -0.04%
- Complexity 4203 4204 +1
============================================
Files 296 296
Lines 17679 17682 +3
Branches 1879 1880 +1
============================================
- Hits 13973 13969 -4
- Misses 2806 2813 +7
Partials 900 900
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: Kaituo Li <[email protected]>
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.
LGTM, thanks for the change
@@ -258,6 +258,8 @@ private AnomalyDetectorSettings() {} | |||
|
|||
public static final int MAX_IMPUTATION_NEIGHBOR_DISTANCE = 2; | |||
|
|||
public static final boolean ALLOW_INTERPLATION_IN_COLDSTART = false; |
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.
Should we make this as dynamic setting?
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.
changed
Signed-off-by: Kaituo Li <[email protected]>
* Disable interpolation in HCAD cold start Previously, we used interpolation in HCAD cold start for the purpose of efficiency. This caused problems for model accuracy. This PR removes interpolation in the cold start step. Testing done: 1. added unit tests to verify precision boosted. Signed-off-by: Kaituo Li <[email protected]> (cherry picked from commit 03e04d7)
* Disable interpolation in HCAD cold start Previously, we used interpolation in HCAD cold start for the purpose of efficiency. This caused problems for model accuracy. This PR removes interpolation in the cold start step. Testing done: 1. added unit tests to verify precision boosted. Signed-off-by: Kaituo Li <[email protected]> (cherry picked from commit 03e04d7) Co-authored-by: Kaituo Li <[email protected]>
Description
Previously, we used interpolation in HCAD cold start for the purpose of efficiency. This caused problems for model accuracy. This PR removes interpolation in the cold start step.
Testing done:
Signed-off-by: Kaituo Li [email protected]
Issues Resolved
#539
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.