Class TargetMeanEncodingPreprocessor
java.lang.Object
co.elastic.clients.elasticsearch.ml.put_trained_model.TargetMeanEncodingPreprocessor
- All Implemented Interfaces:
PreprocessorVariant,JsonpSerializable
@JsonpDeserializable
public class TargetMeanEncodingPreprocessor
extends Object
implements PreprocessorVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TargetMeanEncodingPreprocessor>Json deserializer forTargetMeanEncodingPreprocessor -
Method Summary
Modifier and TypeMethodDescriptionPreprocessor variant kind.final doubleRequired - API name:default_valuefinal StringRequired - API name:feature_namefinal Stringfield()Required - API name:fieldof(Function<TargetMeanEncodingPreprocessor.Builder, ObjectBuilder<TargetMeanEncodingPreprocessor>> fn) voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupTargetMeanEncodingPreprocessorDeserializer(ObjectDeserializer<TargetMeanEncodingPreprocessor.Builder> op) Required - API name:target_maptoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ml.put_trained_model.PreprocessorVariant
_toPreprocessor
-
Field Details
-
_DESERIALIZER
Json deserializer forTargetMeanEncodingPreprocessor
-
-
Method Details
-
of
-
_preprocessorKind
Preprocessor variant kind.- Specified by:
_preprocessorKindin interfacePreprocessorVariant
-
field
Required - API name:field -
featureName
Required - API name:feature_name -
targetMap
Required - API name:target_map -
defaultValue
public final double defaultValue()Required - API name:default_value -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTargetMeanEncodingPreprocessorDeserializer
protected static void setupTargetMeanEncodingPreprocessorDeserializer(ObjectDeserializer<TargetMeanEncodingPreprocessor.Builder> op)
-