Class RegressionInferenceOptions
java.lang.Object
co.elastic.clients.elasticsearch.ml.RegressionInferenceOptions
- All Implemented Interfaces:
InferenceConfigVariant
,InferenceConfigCreateVariant
,InferenceConfigUpdateVariant
,JsonpSerializable
@JsonpDeserializable
public class RegressionInferenceOptions
extends Object
implements InferenceConfigUpdateVariant, InferenceConfigCreateVariant, InferenceConfigVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<RegressionInferenceOptions>
Json deserializer forRegressionInferenceOptions
-
Method Summary
Modifier and TypeMethodDescriptionInferenceConfigCreate variant kind.InferenceConfig variant kind.InferenceConfigUpdate variant kind.final Integer
Specifies the maximum number of feature importance values per document.static RegressionInferenceOptions
final String
The field that is added to incoming documents to contain the inference prediction.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupRegressionInferenceOptionsDeserializer
(ObjectDeserializer<RegressionInferenceOptions.Builder> op) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch.ml.InferenceConfigCreateVariant
_toInferenceConfigCreate
Methods inherited from interface co.elastic.clients.elasticsearch.ml.InferenceConfigUpdateVariant
_toInferenceConfigUpdate
Methods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.InferenceConfigVariant
_toInferenceConfig
-
Field Details
-
_DESERIALIZER
Json deserializer forRegressionInferenceOptions
-
-
Method Details
-
of
public static RegressionInferenceOptions of(Function<RegressionInferenceOptions.Builder, ObjectBuilder<RegressionInferenceOptions>> fn) -
_inferenceConfigUpdateKind
InferenceConfigUpdate variant kind.- Specified by:
_inferenceConfigUpdateKind
in interfaceInferenceConfigUpdateVariant
-
_inferenceConfigCreateKind
InferenceConfigCreate variant kind.- Specified by:
_inferenceConfigCreateKind
in interfaceInferenceConfigCreateVariant
-
_inferenceConfigKind
InferenceConfig variant kind.- Specified by:
_inferenceConfigKind
in interfaceInferenceConfigVariant
-
resultsField
The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.API name:
results_field
-
numTopFeatureImportanceValues
Specifies the maximum number of feature importance values per document.API name:
num_top_feature_importance_values
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRegressionInferenceOptionsDeserializer
protected static void setupRegressionInferenceOptionsDeserializer(ObjectDeserializer<RegressionInferenceOptions.Builder> op)
-