elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/evaluate_data_frame.rb
# Evaluates the data frame analytics for an annotated index.
#
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The evaluation definition (*Required*)
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/evaluate-dfanalytics.html
#
Evaluates the data frame analytics for an annotated index.
Evaluates the data frame analytics for an annotated index .
def evaluate_data_frame(arguments = {})
          raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
          headers = arguments.delete(:headers) || {}
          body = arguments.delete(:body)
          arguments = arguments.clone
          method = Elasticsearch::API::HTTP_POST
          path   = "_ml/data_frame/_evaluate"
          params = {}
          perform_request(method, path, params, body, headers).body
        end
def evaluate_data_frame ( arguments = { } ) raise ArgumentError , "Required argument 'body' missing" unless arguments [ :body ] headers = arguments . delete ( :headers ) || { } body = arguments . delete ( :body ) arguments = arguments . clone method = Elasticsearch :: API :: HTTP_POST path = "_ml/data_frame/_evaluate" params = { } perform_request ( method , path , params , body , headers ) . body end
Evaluates the data frame analytics for an annotated index.
Evaluates the data frame analytics for an annotated index .
arguments
:body The evaluation definition (*Required*)
: body The evaluation definition ( * Required * )
see
None