generated from amazon-archives/__template_Apache-2.0
-
Couldn't load subscription status.
- Fork 621
Add documentation for rule-based anomaly detection and imputation #8202
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
942c7d7
Add documentation for rule-based anomaly detection and imputation
kaituo b2af679
Doc review
vagimeli e2c656e
Update _observing-your-data/ad/index.md
vagimeli fe79e71
Update _observing-your-data/ad/index.md
vagimeli dcbce5a
Update _observing-your-data/ad/index.md
vagimeli 23bcea3
Update _observing-your-data/ad/index.md
vagimeli 2754b3b
Update _observing-your-data/ad/index.md
vagimeli 1a5120d
Update _observing-your-data/ad/index.md
vagimeli 6c3326d
Update _observing-your-data/ad/index.md
vagimeli 614b660
Update _observing-your-data/ad/index.md
vagimeli 3ab815f
Update _observing-your-data/ad/index.md
vagimeli 596adfa
Update _observing-your-data/ad/index.md
vagimeli bee1f4c
Update _observing-your-data/ad/index.md
vagimeli f8ee3d9
Update _observing-your-data/ad/index.md
vagimeli 28a6b77
Update _observing-your-data/ad/index.md
vagimeli c318ece
Update _observing-your-data/ad/index.md
vagimeli 4189083
Update _observing-your-data/ad/index.md
vagimeli 199fbc3
Update _observing-your-data/ad/index.md
vagimeli 595b45a
Update _observing-your-data/ad/index.md
vagimeli 66c48c4
Update _observing-your-data/ad/index.md
vagimeli d6913fb
Update _observing-your-data/ad/index.md
vagimeli 45443b9
Update _observing-your-data/ad/index.md
vagimeli cfc3709
Update _observing-your-data/ad/result-mapping.md
vagimeli 8a3b25d
Update _observing-your-data/ad/index.md
vagimeli bc9488a
Update _observing-your-data/ad/index.md
vagimeli 50eff8b
Update _observing-your-data/ad/index.md
vagimeli 2c2e06c
Update _observing-your-data/ad/index.md
vagimeli 894efee
Update index.md
vagimeli 5738739
Update result-mapping.md
vagimeli 14dc454
Update _observing-your-data/ad/index.md
vagimeli 4ad9e02
Update _observing-your-data/ad/index.md
vagimeli 4d7f738
Merge branch 'main' into 2.17
vagimeli 9afca30
Fix links
vagimeli 0067b5d
Fix links
vagimeli a99969b
Address editorial feedback
vagimeli 7ea3d63
Address editorial feedback
vagimeli 4b42bc2
Merge branch 'main' into 2.17
vagimeli f9434ec
Merge branch 'main' into 2.17
vagimeli ca49c0c
Update _observing-your-data/ad/index.md
vagimeli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -80,6 +80,81 @@ Field | Description | |
| `model_id` | A unique ID that identifies a model. If a detector is a single-stream detector (with no category field), it has only one model. If a detector is a high-cardinality detector (with one or more category fields), it might have multiple models, one for each entity. | ||
| `threshold` | One of the criteria for a detector to classify a data point as an anomaly is that its `anomaly_score` must surpass a dynamic threshold. This field records the current threshold. | ||
|
|
||
| When the imputation option is enabled, the anomaly result output will include a `feature_imputed` array, indicating whether each feature has been imputed. This information helps you understand which features were modified during the anomaly detection process due to missing data. If no features were imputed, the feature_imputed array will be omitted from the results. | ||
|
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Above: "result includes" => "results include"? |
||
| In the following example, the feature processing_bytes_max was imputed, as indicated by the `imputed: true` status: | ||
|
|
||
| ```json | ||
| { | ||
| "detector_id": "kzcZ43wBgEQAbjDnhzGF", | ||
| "schema_version": 5, | ||
| "data_start_time": 1635898161367, | ||
| "data_end_time": 1635898221367, | ||
| "feature_data": [ | ||
| { | ||
| "feature_id": "processing_bytes_max", | ||
| "feature_name": "processing bytes max", | ||
| "data": 2322 | ||
| }, | ||
| { | ||
| "feature_id": "processing_bytes_avg", | ||
| "feature_name": "processing bytes avg", | ||
| "data": 1718.6666666666667 | ||
| }, | ||
| { | ||
| "feature_id": "processing_bytes_min", | ||
| "feature_name": "processing bytes min", | ||
| "data": 1375 | ||
| }, | ||
| { | ||
| "feature_id": "processing_bytes_sum", | ||
| "feature_name": "processing bytes sum", | ||
| "data": 5156 | ||
| }, | ||
| { | ||
| "feature_id": "processing_time_max", | ||
| "feature_name": "processing time max", | ||
| "data": 31198 | ||
| } | ||
| ], | ||
| "execution_start_time": 1635898231577, | ||
| "execution_end_time": 1635898231622, | ||
| "anomaly_score": 1.8124904404395776, | ||
| "anomaly_grade": 0, | ||
| "confidence": 0.9802940756605277, | ||
| "entity": [ | ||
| { | ||
| "name": "process_name", | ||
| "value": "process_3" | ||
| } | ||
| ], | ||
| "model_id": "kzcZ43wBgEQAbjDnhzGF_entity_process_3", | ||
| "threshold": 1.2368549346675202, | ||
| "feature_imputed": [ | ||
| { | ||
| "feature_id": "processing_bytes_max", | ||
| "imputed": true | ||
| }, | ||
| { | ||
| "feature_id": "processing_bytes_avg", | ||
| "imputed": false | ||
| }, | ||
| { | ||
| "feature_id": "processing_bytes_min", | ||
| "imputed": false | ||
| }, | ||
| { | ||
| "feature_id": "processing_bytes_sum", | ||
| "imputed": false | ||
| }, | ||
| { | ||
| "feature_id": "processing_time_max", | ||
| "imputed": false | ||
| } | ||
| ] | ||
| } | ||
| ``` | ||
|
|
||
| If an anomaly detector detects an anomaly, the result has the following format: | ||
|
|
||
| ```json | ||
|
|
||
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.
Uh oh!
There was an error while loading. Please reload this page.