Files
elasticsearch-js/docs/reference/api/MlPerPartitionCategorization.md
2025-05-28 10:02:30 -05:00

7 lines
795 B
Markdown

# `MlPerPartitionCategorization` [interface-MlPerPartitionCategorization]
| Name | Type | Description |
| - | - | - |
| `enabled` | boolean | To enable this setting, you must also set the `partition_field_name` property to the same value in every detector that uses the keyword `mlcategory`. Otherwise, job creation fails. |
| `stop_on_warn` | boolean | This setting can be set to true only if per-partition categorization is enabled. If true, both categorization and subsequent anomaly detection stops for partitions where the categorization status changes to warn. This setting makes it viable to have a job where it is expected that categorization works well for some partitions but not others; you do not pay the cost of bad categorization forever in the partitions where it works badly. |