Type to search.

Evaluate data frame analytics

  • POST /_ml/data_frame/_evaluate
Auth The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 7.3 This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

The API packages together commonly used evaluation metrics for various types of machine learning features. This has been designed for use on indexes created by data frame analytics. Evaluation requires both a ground truth field and an analytics result field to be present.

Required privileges

Cluster privileges monitor_ml

Request body

evaluation object required

Defines the type of evaluation you want to perform.

index string required

Defines the index in which the evaluation will be performed.

query {} Query

A query clause that retrieves a subset of data from the source index.

Response

application/json