-
Notifications
You must be signed in to change notification settings - Fork 8k
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] Data Frame Analytics: Adds scatterplot matrix to regression/classification results pages. #88353
[ML] Data Frame Analytics: Adds scatterplot matrix to regression/classification results pages. #88353
Conversation
randomly clicked here, so here is just a mini review: looks very nice! |
73b7419
to
3e81233
Compare
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.
Functional tests LGTM, great to have them in as part of this PR 🎉
x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_view.tsx
Show resolved
Hide resolved
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.
Tested and overall looks good. Only issue I found was that the page query isn't being used - which also applies for outlier jobs.
Not for this PR, but with the extra components being added to this views, we're almost at a point where we need to consider some sort of 'jump to' type links.
setIsLoading(false); | ||
} | ||
} catch (e) { | ||
// TODO error handling |
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.
Is this todo for a follow up?
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.
Yes, it just shows up as a new line because the file was moved and git didn't recognize it was a move. Better error handling is in the list of follow ups in the meta issue here #84420
</EuiFlexItem> | ||
<EuiFlexItem style={{ width: '200px' }} grow={false}> | ||
<EuiFormRow | ||
label={i18n.translate('xpack.ml.splom.SampleSizeLabel', { |
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.
nit: Sample
is capitalized here
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.
Fixed in 1ab0754.
</EuiFlexItem> | ||
<EuiFlexItem style={{ width: '120px' }} grow={false}> | ||
<EuiFormRow | ||
label={i18n.translate('xpack.ml.splom.RandomScoringLabel', { |
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.
nit: Random
is capitalized here
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.
Fixed in 1ab0754.
|
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.
Tested latest edits and LGTM
Also tested and LGTM 🎉 |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
…sification results pages. (elastic#88353) - Adds support for scatterplot matrices to regression/classification results pages - Lazy loads the scatterplot matrix including Vega code using Suspense. The approach is taken from the Kibana Vega plugin, creating this separate bundle means you'll load the 600kb+ Vega code only on pages where actually needed and not e.g. already on the analytics job list. Note for reviews: The file scatterplot_matrix_view.tsx did not change besides the default export, it just shows up as a new file because of the refactoring to support lazy loading. - Adds support for analytics configuration that use the excludes instead of includes field list. - Adds the field used for color legends to tooltips.
…sification results pages. (#88353) (#89848) - Adds support for scatterplot matrices to regression/classification results pages - Lazy loads the scatterplot matrix including Vega code using Suspense. The approach is taken from the Kibana Vega plugin, creating this separate bundle means you'll load the 600kb+ Vega code only on pages where actually needed and not e.g. already on the analytics job list. Note for reviews: The file scatterplot_matrix_view.tsx did not change besides the default export, it just shows up as a new file because of the refactoring to support lazy loading. - Adds support for analytics configuration that use the excludes instead of includes field list. - Adds the field used for color legends to tooltips.
Review note for Kibana Design Team: The github review assignment got triggered by a SCSS file rename.
Summary
Part of #84420
scatterplot_matrix_view.tsx
did not change besides thedefault
export, it just shows up as a new file because of the refactoring to support lazy loading.excludes
instead ofincludes
field list.Checklist
For maintainers