Class RegressionInferenceOptions
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.RegressionInferenceOptions
- All Implemented Interfaces:
ToJsonp
public final class RegressionInferenceOptions extends java.lang.Object implements ToJsonp
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegressionInferenceOptions.BuilderBuilder forRegressionInferenceOptions. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RegressionInferenceOptions>DESERIALIZERJson deserializer for RegressionInferenceOptions -
Constructor Summary
Constructors Modifier Constructor Description protectedRegressionInferenceOptions(RegressionInferenceOptions.Builder builder) -
Method Summary
Modifier and Type Method Description java.lang.NumbernumTopFeatureImportanceValues()Specifies the maximum number of feature importance values per document.java.lang.StringresultsField()The field that is added to incoming documents to contain the inference prediction.protected static voidsetupRegressionInferenceOptionsDeserializer(DelegatingDeserializer<RegressionInferenceOptions.Builder> op)voidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
Field Details
-
DESERIALIZER
Json deserializer for RegressionInferenceOptions
-
-
Constructor Details
-
Method Details
-
resultsField
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.Number 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 -
toJsonp
Serialize this object to JSON. -
toJsonpInternal
-
setupRegressionInferenceOptionsDeserializer
protected static void setupRegressionInferenceOptionsDeserializer(DelegatingDeserializer<RegressionInferenceOptions.Builder> op)
-