-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ML] Add UI test for feature importance features #82677
[ML] Add UI test for feature importance features #82677
Conversation
Pinging @elastic/ml-ui (:ml) |
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 ⚡
x-pack/test/functional/apps/ml/data_frame_analytics/feature_importance.ts
Outdated
Show resolved
Hide resolved
x-pack/test/functional/apps/ml/data_frame_analytics/feature_importance.ts
Outdated
Show resolved
Hide resolved
x-pack/test/functional/apps/ml/data_frame_analytics/feature_importance.ts
Outdated
Show resolved
Hide resolved
During my local test runs, I've seen a failure a few times, where the popover didn't display the decision path, but just the "old" json-only content (without tabs). Reloading the results view fixed it and a few runs later it didn't reproduce any more. |
The flaky test runner job ran into some test failures. Looks like the one that I've experienced locally, see for example this error screenshot from the flaky test runner job. |
…ance-functional-tests
…ance-functional-tests
Looking at the failure screenshots, seems like the decision path popover is behaving as expected. We made it so that the chart/json tab will only show up if there are 2 or more features from the ml.feature_importance cell. Based on the screenshots, seems like we are only getting 1 feature back, thus why the chart is not showing. I'm currently looking into the cell result is inconsistent given the same job config. |
Started flaky test runner |
Started flaky runner test for training percentage at 50% |
2 failures in 50 runs. This time, we're hitting the 2 minute timeout during job execution:
So running bank marketing with 50% takes just too long. Maybe we need to pick a different test data set that reliably gives us 2 features with a short run time? |
I was running the test runner 35% and it failed as well with the same problems with only one variable returned, which is unfortunate. Currently testing other data sets. |
Started flaky test runner for a73a162 which uses iowa housing prices data set. |
@pheyos @peteharverson Updated to a different data set and looks like the flaky test runner got no failures 🎉 |
@elasticmachine merge upstream |
Kicked off another flaky test runner job, just to make sure. |
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
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
* master: (51 commits) [ML] Persisted URL state for the Data frame analytics jobs and models pages (elastic#83439) adds xpack.security.authc.selector.enabled setting (elastic#83551) skip flaky suite (elastic#77279) [ML] Improve support for script and aggregation fields in anomaly detection jobs (elastic#81923) [Workplace Search] Migrate SourcesLogic from ent-search (elastic#83544) [ML] Add UI test for feature importance features (elastic#82677) [Maps] Improve icons for all layer types (elastic#83503) Replace experimental badge with Beta (elastic#83468) [Fleet][EPM] Unified install and archive (elastic#83384) Move src/legacy/server/keystore to src/cli (elastic#83483) Used SO for saving the API key IDs that should be deleted (elastic#82211) [Uptime] Mock implementation to account for math flakiness test (elastic#83535) [Workplace Search] Enable check for org context based on URL (elastic#83487) [App Search] Added all Document related routes and logic (elastic#83324) [Alerting UI] Fix console error when setting connector params (elastic#83333) [Discover] Allow custom name for fields via index pattern field management (elastic#70039) [Uptime] Fix monitor list down histogram (elastic#83411) remove headers timeout hack, rely on nodejs timeouts (elastic#83419) [ML] Update console autocomplete for ML data frame evaluate API (elastic#83151) [Lens] Color in dimension trigger (elastic#76871) ...
Summary
This PR adds UI functional testing for the Total Feature Importance panel as well as the decision path in the results data grid.
Checklist
Delete any items that are not applicable to this PR.