Skip to content

[ML] DataFrame Analytics wizard: improve validation step messaging#97338

Merged
alvarezmelissa87 merged 5 commits intoelastic:masterfrom
alvarezmelissa87:ml-dfa-validation-updates
Apr 20, 2021
Merged

[ML] DataFrame Analytics wizard: improve validation step messaging#97338
alvarezmelissa87 merged 5 commits intoelastic:masterfrom
alvarezmelissa87:ml-dfa-validation-updates

Conversation

@alvarezmelissa87
Copy link
Copy Markdown
Contributor

@alvarezmelissa87 alvarezmelissa87 commented Apr 15, 2021

Summary

Related meta issue #88248

  • Adds warning for when training percent is set to 100%
  • Adds warning for when user doesn't have enough included fields
  • Updates dependent variable messaging (see meta issue and screenshots for specific wording)
  • Updates top classes messaging
  • Updates analysis fields messaging

image

image

Checklist

Delete any items that are not applicable to this PR.

@alvarezmelissa87 alvarezmelissa87 added :ml release_note:skip Skip the PR/issue when compiling release notes Feature:Data Frame Analytics ML data frame analytics features v7.13.0 labels Apr 15, 2021
@alvarezmelissa87 alvarezmelissa87 requested a review from a team as a code owner April 15, 2021 23:58
@alvarezmelissa87 alvarezmelissa87 self-assigned this Apr 15, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@alvarezmelissa87
Copy link
Copy Markdown
Contributor Author

cc @lcawl 😄

Copy link
Copy Markdown
Contributor

@lcawl lcawl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two minor suggestions, otherwise text LGTM

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'Outlier detection requires at least one field to be included in the analysis.',
'Outlier detection requires that at least one field is included in the analysis.',

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in 97a862cfc489536c59a7b556413f277f8126b5a8

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'{analysisType} requires at least two fields to be included in the analysis.',
'{analysisType} requires that at least two fields are included in the analysis.',

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in 97a862cfc489536c59a7b556413f277f8126b5a8

@alvarezmelissa87 alvarezmelissa87 force-pushed the ml-dfa-validation-updates branch from 97a862c to 2efe929 Compare April 19, 2021 15:01
@qn895
Copy link
Copy Markdown
Member

qn895 commented Apr 19, 2021

Code LGTM

Comment thread x-pack/plugins/ml/server/models/data_frame_analytics/validation.ts Outdated
Comment thread x-pack/plugins/ml/server/models/data_frame_analytics/validation.ts Outdated
Copy link
Copy Markdown
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest edits LGTM

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
ml 6.0MB 6.0MB +40.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @alvarezmelissa87

@alvarezmelissa87 alvarezmelissa87 merged commit 296feab into elastic:master Apr 20, 2021
alvarezmelissa87 added a commit to alvarezmelissa87/kibana that referenced this pull request Apr 20, 2021
…lastic#97338)

* improve validation messages and add checks

* disable form switch if job created

* updated included fields message

* update top classes message

* update top classes success message
@alvarezmelissa87 alvarezmelissa87 deleted the ml-dfa-validation-updates branch April 20, 2021 16:45
alvarezmelissa87 added a commit that referenced this pull request Apr 20, 2021
…97338) (#97676)

* improve validation messages and add checks

* disable form switch if job created

* updated included fields message

* update top classes message

* update top classes success message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Data Frame Analytics ML data frame analytics features :ml release_note:skip Skip the PR/issue when compiling release notes v7.13.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants