# Mlcategory -1 in 7.12

**URL:** <https://discuss.elastic.co/t/mlcategory-1-in-7-12/293212>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [December 30, 2021, 3:02pm UTC](https://discuss.elastic.co/t/mlcategory-1-in-7-12/293212 "2021-12-30T15:02:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![evan2424](https://avatars.discourse-cdn.com/v4/letter/e/ecccb3/32.png) [@evan2424](https://discuss.elastic.co/u/evan2424)\
**Post date:** [December 30, 2021, 3:02pm UTC](https://discuss.elastic.co/t/mlcategory-1-in-7-12/293212/1 "2021-12-30T15:02:55Z")

</div>

We are using Elastic Stack 7.12, and have set up some machine learning jobs. When we visit the Anomaly Explorer for one of these jobs, there is a **mlcategory -1** that does not have any category examples. I have tried running

`GET /_xpack/ml/anomaly_detectors/job_id/results/categories`

But there the first mlcategory is 1, and there is no mlcategory -1 in that list. Could mlcategory -1 be a category with log entries where the categorization field is empty?

---

<div class="post-metadata">

**Author:** ![droberts195](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/droberts195/32/17692_2.png) [@droberts195](https://discuss.elastic.co/u/droberts195)\
**Post date:** [December 30, 2021, 3:36pm UTC](https://discuss.elastic.co/t/mlcategory-1-in-7-12/293212/2 "2021-12-30T15:36:32Z")

</div>

> [@evan2424](#):
>
> Could mlcategory -1 be a category with log entries where the categorization field is empty?

Yes, that’s right. Or the field was not present at all in a particular document.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 27, 2022, 3:37pm UTC](https://discuss.elastic.co/t/mlcategory-1-in-7-12/293212/3 "2022-01-27T15:37:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
