Class InferenceConfigRegression
java.lang.Object
co.elastic.clients.elasticsearch.ingest.InferenceConfigRegression
- All Implemented Interfaces:
InferenceConfigVariant
,JsonpSerializable
@JsonpDeserializable
public class InferenceConfigRegression
extends Object
implements InferenceConfigVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<InferenceConfigRegression>
Json deserializer forInferenceConfigRegression
-
Method Summary
Modifier and TypeMethodDescriptionInferenceConfig variant kind.final Integer
Specifies the maximum number of feature importance values per document.static InferenceConfigRegression
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
setupInferenceConfigRegressionDeserializer
(ObjectDeserializer<InferenceConfigRegression.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.ingest.InferenceConfigVariant
_toInferenceConfig
-
Field Details
-
_DESERIALIZER
Json deserializer forInferenceConfigRegression
-
-
Method Details
-
of
public static InferenceConfigRegression of(Function<InferenceConfigRegression.Builder, ObjectBuilder<InferenceConfigRegression>> fn) -
_inferenceConfigKind
InferenceConfig variant kind.- Specified by:
_inferenceConfigKind
in interfaceInferenceConfigVariant
-
resultsField
The field that is added to incoming documents to contain the inference prediction.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
-
setupInferenceConfigRegressionDeserializer
protected static void setupInferenceConfigRegressionDeserializer(ObjectDeserializer<InferenceConfigRegression.Builder> op)
-