Class DataframeAnalysisClassification

java.lang.Object
co.elastic.clients.elasticsearch.ml.DataframeAnalysisBase
co.elastic.clients.elasticsearch.ml.DataframeAnalysisClassification
All Implemented Interfaces:
DataframeAnalysisVariant, JsonpSerializable, UnionVariant

@JsonpDeserializable
public final class DataframeAnalysisClassification
extends DataframeAnalysisBase
implements DataframeAnalysisVariant
  • Field Details

  • Constructor Details

  • Method Details

    • _variantType

      public java.lang.String _variantType()
      DataframeAnalysis variant type
      Specified by:
      _variantType in interface UnionVariant
    • classAssignmentObjective

      @Nullable public java.lang.String classAssignmentObjective()
      API name: class_assignment_objective
    • numTopClasses

      @Nullable public java.lang.Integer numTopClasses()
      Defines the number of categories for which the predicted probabilities are reported. It must be non-negative or -1. If it is -1 or greater than the total number of categories, probabilities are reported for all categories; if you have a large number of categories, there could be a significant effect on the size of your destination index. NOTE: To use the AUC ROC evaluation method, num_top_classes must be set to -1 or a value greater than or equal to the total number of categories.

      API name: num_top_classes

    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Overrides:
      serializeInternal in class DataframeAnalysisBase
    • setupDataframeAnalysisClassificationDeserializer

      protected static void setupDataframeAnalysisClassificationDeserializer​(DelegatingDeserializer<DataframeAnalysisClassification.Builder> op)