Evaluate data frame analytics

  • POST /_ml/data_frame/_evaluate
Version 8.19 Latest: v9 Auth

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
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.

Responses

application/json