[ML] Categorization wizard#53009
Merged
jgowdyelastic merged 29 commits intoelastic:masterfrom Jan 9, 2020
Merged
Conversation
651d7db to
4753401
Compare
Contributor
💔 Build Failed
History
To update your PR or re-run it, just comment with: |
076162f to
f8a975e
Compare
Contributor
|
Pinging @elastic/ml-ui (:ml) |
droberts195
reviewed
Jan 7, 2020
x-pack/legacy/plugins/ml/server/models/job_service/new_job/categorization.ts
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/ml/public/application/jobs/new_job/common/job_validator/job_validator.ts
Outdated
Show resolved
Hide resolved
...omponents/common/edit_categorization_analyzer_flyout/edit_categorization_analyzer_flyout.tsx
Outdated
Show resolved
Hide resolved
.../pages/components/pick_fields_step/components/categorization_view/examples_valid_callout.tsx
Outdated
Show resolved
Hide resolved
.../new_job/pages/components/pick_fields_step/components/categorization_view/field_examples.tsx
Outdated
Show resolved
Hide resolved
...ew_job/pages/components/pick_fields_step/components/categorization_view/metric_selection.tsx
Outdated
Show resolved
Hide resolved
01a4b21 to
f6fbc8f
Compare
darnautov
reviewed
Jan 8, 2020
...omponents/common/edit_categorization_analyzer_flyout/edit_categorization_analyzer_flyout.tsx
Outdated
Show resolved
Hide resolved
Contributor
There was a problem hiding this comment.
can we replace this inline style?
..._job/pages/components/pick_fields_step/components/categorization_detector/detector_cards.tsx
Outdated
Show resolved
Hide resolved
..._job/pages/components/pick_fields_step/components/categorization_detector/detector_cards.tsx
Outdated
Show resolved
Hide resolved
.../pages/components/pick_fields_step/components/categorization_view/examples_valid_callout.tsx
Outdated
Show resolved
Hide resolved
.../new_job/pages/components/pick_fields_step/components/categorization_view/field_examples.tsx
Outdated
Show resolved
Hide resolved
.../new_job/pages/components/pick_fields_step/components/categorization_view/field_examples.tsx
Outdated
Show resolved
Hide resolved
...ages/components/pick_fields_step/components/categorization_view/metric_selection_summary.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/ml/server/models/job_service/new_job/categorization.ts
Outdated
Show resolved
Hide resolved
..._job/pages/components/pick_fields_step/components/categorization_detector/detector_cards.tsx
Outdated
Show resolved
Hide resolved
08054ef to
80b802f
Compare
Contributor
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
jgowdyelastic
added a commit
to jgowdyelastic/kibana
that referenced
this pull request
Jan 9, 2020
* [ML] Categorization wizard * fixing js prettier issues * adding basic category field validation * adding rare or count selection * fixing types * category examples changes * improving results search * adding analyzer editing * improving callout * updating callout text * fixing import path * resetting cat analyser json on flyout open * disabling model plot by default * minor refactoring * fixing types * hide estimate bucket span * setting default bucket span * removing ml_classic workaround * changing style of detector selection * fixing convert to advanced issue * removing sparse data checkbox * changes based on review * use default mml * fixing job cloning * changes based on review * removing categorization_analyzer from job if it is same as default * fixing translations * disabling model plot for rare jobs * removing console.error in useResolver
jgowdyelastic
added a commit
that referenced
this pull request
Jan 9, 2020
* [ML] Categorization wizard * fixing js prettier issues * adding basic category field validation * adding rare or count selection * fixing types * category examples changes * improving results search * adding analyzer editing * improving callout * updating callout text * fixing import path * resetting cat analyser json on flyout open * disabling model plot by default * minor refactoring * fixing types * hide estimate bucket span * setting default bucket span * removing ml_classic workaround * changing style of detector selection * fixing convert to advanced issue * removing sparse data checkbox * changes based on review * use default mml * fixing job cloning * changes based on review * removing categorization_analyzer from job if it is same as default * fixing translations * disabling model plot for rare jobs * removing console.error in useResolver
This was referenced Jan 14, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds a wizard for creating categorization jobs.
User can select a Count or Rare detector and the categorization field from a list text and keyword fields.

When a field is selected, a list of example field values is shown with highlighted tokens based on the default analyser.
The analyzer can be edited by the user which will reload these examples.
A validation message is also displayed to show the results of the token counts per field value.

100 values are checked and a percentage show based on how many have more than one token.
If this percentage is less than 75%, the user is warned that field might not be good for categorization.
If the percentage is less than 2%, the use of that field is not allowed.

When running the job, an event rate chart is shown with anomalies.

Along with a list of example categories. If model plot is enabled, this list will also have a count per category and be sorted by the most popular category.

Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers