Class RegressionInferenceOptions

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

@JsonpDeserializable
public class RegressionInferenceOptions
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

    • resultsField

      @Nullable public final 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 final 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)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupRegressionInferenceOptionsDeserializer

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