Class MlEvaluationNamedXContentProvider

java.lang.Object
org.elasticsearch.client.ml.dataframe.evaluation.MlEvaluationNamedXContentProvider
All Implemented Interfaces:
org.elasticsearch.plugins.spi.NamedXContentProvider

public class MlEvaluationNamedXContentProvider
extends java.lang.Object
implements org.elasticsearch.plugins.spi.NamedXContentProvider
  • Constructor Summary

    Constructors
    Constructor Description
    MlEvaluationNamedXContentProvider()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry> getNamedXContentParsers()  
    static java.lang.String registeredMetricName​(java.lang.String evaluationName, java.lang.String metricName)
    Constructs the name under which a metric (or metric result) is registered.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MlEvaluationNamedXContentProvider

      public MlEvaluationNamedXContentProvider()
  • Method Details

    • registeredMetricName

      public static java.lang.String registeredMetricName​(java.lang.String evaluationName, java.lang.String metricName)
      Constructs the name under which a metric (or metric result) is registered. The name is prefixed with evaluation name so that registered names are unique.
      Parameters:
      evaluationName - name of the evaluation
      metricName - name of the metric
      Returns:
      name appropriate for registering a metric (or metric result) in NamedXContentRegistry
    • getNamedXContentParsers

      public java.util.List<org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry> getNamedXContentParsers()
      Specified by:
      getNamedXContentParsers in interface org.elasticsearch.plugins.spi.NamedXContentProvider