Class RegressionInferenceOptions

java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.RegressionInferenceOptions
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public final class RegressionInferenceOptions
extends java.lang.Object
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • resultsField

      @Nullable public java.lang.String resultsField()
      The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.

      API name: results_field

    • numTopFeatureImportanceValues

      @Nullable public java.lang.Integer numTopFeatureImportanceValues()
      Specifies the maximum number of feature importance values per document. By default, it is zero and no feature importance calculation occurs.

      API name: num_top_feature_importance_values

    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupRegressionInferenceOptionsDeserializer

      protected static void setupRegressionInferenceOptionsDeserializer​(DelegatingDeserializer<RegressionInferenceOptions.Builder> op)