# Machine learning options

**URL:** <https://discuss.elastic.co/t/machine-learning-options/253760>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [October 30, 2020, 1:11am UTC](https://discuss.elastic.co/t/machine-learning-options/253760 "2020-10-30T01:11:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jungsoo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jungsoo/32/78042_2.png) [@jungsoo](https://discuss.elastic.co/u/jungsoo)\
**Post date:** [October 30, 2020, 1:11am UTC](https://discuss.elastic.co/t/machine-learning-options/253760/1 "2020-10-30T01:11:07Z")

</div>

Hello, I'm testing machine learning features using the kibana sample data.

I couldn't find detailed information about the options when creating ml jobs. I want to know what exclude frequent means, and how I could use them.

I used by field/partition field/over field to test exclude frequent option, but failed showing the error below. Can I get some examples of making ml using exclude frequent?

[request body.analysisConfig.detectors.0.exclude\_frequent]: definition for this key is missing

 ![exclude frequent](https://us1.discourse-cdn.com/elastic/original/3X/9/b/9b2e15a19d2d17957932b40828fcfa92c1ec269c.png)

Thank you!

---

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [October 30, 2020, 4:31pm UTC](https://discuss.elastic.co/t/machine-learning-options/253760/2 "2020-10-30T16:31:09Z")

</div>

> [@jungsoo](#):
>
> exclude\_frequent

is defined here: [Create anomaly detection jobs API | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html)

The error you found [is a known bug](https://github.com/elastic/kibana/pull/81121) - to be fixed in v7.10

Just so you know, the introduction of [Filter lists](https://www.elastic.co/guide/en/machine-learning/7.8/ml-configuring-detector-custom-rules.html) often obviates the need for the `exclude_frequent` setting, which pre-dated Filters. With filters, you have specific control over which entities you'd like to omit from anomaly creation.

---

<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:** [November 27, 2020, 4:31pm UTC](https://discuss.elastic.co/t/machine-learning-options/253760/3 "2020-11-27T16:31:22Z")

</div>

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