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

[Backport 2.x] Add Missing Value Imputation Options and Update Shingle Size Limit #853

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 3ed0058 from #851

)

* Add Missing Value Imputation Options and Update Shingle Size Limit

This PR introduces a new missing value imputation feature with three options: zero, fixed values, and previous values. When the fixed values option is selected, users can input custom values for each feature. Validation logic has been added to ensure that the feature names and the number of custom values match the number of enabled features.

Additionally, the review page and model configuration page have been updated to properly display these new parameters.

This PR also increases the maximum shingle size to 128, aligning with the backend implementation.

Testing:
* Updated existing unit tests to reflect these changes.
* Conducted manual end-to-end testing.

Signed-off-by: Kaituo Li <[email protected]>

* remove console log

Signed-off-by: Kaituo Li <[email protected]>

---------

Signed-off-by: Kaituo Li <[email protected]>
(cherry picked from commit 3ed0058)
@kaituo
Copy link
Collaborator

kaituo commented Aug 26, 2024

cypress tested failed since we didn't backport fix to 2.x. Pinged Dan to do so: opensearch-project/opensearch-dashboards-functional-test#1518

  1. Anomaly detection integration with vis augmenter
    Associate existing detector - creation flow:
    AssertionError: Timed out retrying after 60000ms: Expected to find content: 'Add anomaly detector' within the element: [ <span.euiTitle.euiTitle--medium>, 11 more... ] but never did.
    at Context.eval (http://localhost:5601/__cypress/tests?p=cypress/integration/plugins/anomaly-detection-dashboards-plugin/vis_augmenter/associate_detector_spec.js:268:44)

@kaituo kaituo merged commit 3def729 into 2.x Aug 26, 2024
9 of 10 checks passed
kaituo added a commit to kaituo/anomaly-detection-dashboards-plugin that referenced this pull request Sep 10, 2024
…pensearch-project#851) (opensearch-project#853)

* Add Missing Value Imputation Options and Update Shingle Size Limit

This PR introduces a new missing value imputation feature with three options: zero, fixed values, and previous values. When the fixed values option is selected, users can input custom values for each feature. Validation logic has been added to ensure that the feature names and the number of custom values match the number of enabled features.

Additionally, the review page and model configuration page have been updated to properly display these new parameters.

This PR also increases the maximum shingle size to 128, aligning with the backend implementation.

Testing:
* Updated existing unit tests to reflect these changes.
* Conducted manual end-to-end testing.

Signed-off-by: Kaituo Li <[email protected]>

* remove console log

Signed-off-by: Kaituo Li <[email protected]>

---------

Signed-off-by: Kaituo Li <[email protected]>
(cherry picked from commit 3ed0058)

Co-authored-by: Kaituo Li <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants