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

Enable shingle in HCAD #71

Merged
merged 1 commit into from
Aug 24, 2021
Merged

Enable shingle in HCAD #71

merged 1 commit into from
Aug 24, 2021

Conversation

kaituo
Copy link
Collaborator

@kaituo kaituo commented Aug 24, 2021

Description

Previously, we hardcoded HCAD (including real-time and historical) shingle size to be one due to time constraints when releasing HCAD. This PR enabled shingling in HCAD on the frontend (backend PR: opensearch-project/anomaly-detection#187). Specifically, after this PR

  • both single-stream and HCAD detectors have a default shingle size of 8.
  • no special handling of HCAD detectors' shingle size.

Testing done:

  1. unit tests and cypress tests pass.
  2. Manual testing to verify HCAD real-time and historical tasks use shingle eight by default and can use customized size.
  3. Manual testing to verify preview uses shingle eight by default and can use the customized size.

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
  • Commits are signed per the DCO using --signoff

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.

Previously, we hardcoded HCAD (including real-time and historical) shingle size to be one due to time constraints when releasing HCAD. This PR enabled shingling in HCAD on the frontend (backend PR: opensearch-project/anomaly-detection#187). Specifically, after this PR
* both single-stream and HCAD detectors have a default shingle size of 8.
* no special handling of HCAD detectors' shingle size.

Testing done:
1. unit tests and cypress tests pass.
2. Manual testing to verify HCAD real-time and historical tasks use shingle eight by default and can use customized size.
3. Manual testing to verify preview uses shingle eight by default and can use the customized size.
@kaituo kaituo requested review from ylwu-amzn and ohltyler August 24, 2021 00:01
@ohltyler
Copy link
Member

LGTM! Will wait to approve after UX confirms the wording changes from "Window size" to "Shingle size"

@kaituo
Copy link
Collaborator Author

kaituo commented Aug 24, 2021

@ohltyler, I can do it in a separate PR.

@ohltyler
Copy link
Member

@ohltyler, I can do it in a separate PR.

Sure, makes sense.

@kaituo kaituo merged commit 1f10007 into main Aug 24, 2021
@ohltyler ohltyler added the v1.1.0 Version 1.1.0 label Aug 25, 2021
@ohltyler ohltyler deleted the shingle branch August 27, 2021 18:41
ohltyler pushed a commit to ohltyler/anomaly-detection-dashboards-plugin-1 that referenced this pull request Sep 1, 2021
Previously, we hardcoded HCAD (including real-time and historical) shingle size to be one due to time constraints when releasing HCAD. This PR enabled shingling in HCAD on the frontend (backend PR: opensearch-project/anomaly-detection#187). Specifically, after this PR
* both single-stream and HCAD detectors have a default shingle size of 8.
* no special handling of HCAD detectors' shingle size.

Testing done:
1. unit tests and cypress tests pass.
2. Manual testing to verify HCAD real-time and historical tasks use shingle eight by default and can use customized size.
3. Manual testing to verify preview uses shingle eight by default and can use the customized size.
ohltyler pushed a commit that referenced this pull request Sep 1, 2021
Previously, we hardcoded HCAD (including real-time and historical) shingle size to be one due to time constraints when releasing HCAD. This PR enabled shingling in HCAD on the frontend (backend PR: opensearch-project/anomaly-detection#187). Specifically, after this PR
* both single-stream and HCAD detectors have a default shingle size of 8.
* no special handling of HCAD detectors' shingle size.

Testing done:
1. unit tests and cypress tests pass.
2. Manual testing to verify HCAD real-time and historical tasks use shingle eight by default and can use customized size.
3. Manual testing to verify preview uses shingle eight by default and can use the customized size.
@ohltyler ohltyler added the enhancement New feature or request label Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v1.1.0 Version 1.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants