Class PreprocessorBuilders
java.lang.Object
co.elastic.clients.elasticsearch.ml.put_trained_model.PreprocessorBuilders
Builders for
Preprocessor variants.-
Method Summary
Modifier and TypeMethodDescriptionCreates a builder for thefrequency_encodingPreprocessorvariant.static PreprocessorfrequencyEncoding(Function<FrequencyEncodingPreprocessor.Builder, ObjectBuilder<FrequencyEncodingPreprocessor>> fn) Creates a Preprocessor of thefrequency_encodingPreprocessorvariant.Creates a builder for theone_hot_encodingPreprocessorvariant.static PreprocessoroneHotEncoding(Function<OneHotEncodingPreprocessor.Builder, ObjectBuilder<OneHotEncodingPreprocessor>> fn) Creates a Preprocessor of theone_hot_encodingPreprocessorvariant.Creates a builder for thetarget_mean_encodingPreprocessorvariant.static PreprocessortargetMeanEncoding(Function<TargetMeanEncodingPreprocessor.Builder, ObjectBuilder<TargetMeanEncodingPreprocessor>> fn) Creates a Preprocessor of thetarget_mean_encodingPreprocessorvariant.
-
Method Details
-
frequencyEncoding
Creates a builder for thefrequency_encodingPreprocessorvariant. -
frequencyEncoding
public static Preprocessor frequencyEncoding(Function<FrequencyEncodingPreprocessor.Builder, ObjectBuilder<FrequencyEncodingPreprocessor>> fn) Creates a Preprocessor of thefrequency_encodingPreprocessorvariant. -
oneHotEncoding
Creates a builder for theone_hot_encodingPreprocessorvariant. -
oneHotEncoding
public static Preprocessor oneHotEncoding(Function<OneHotEncodingPreprocessor.Builder, ObjectBuilder<OneHotEncodingPreprocessor>> fn) Creates a Preprocessor of theone_hot_encodingPreprocessorvariant. -
targetMeanEncoding
Creates a builder for thetarget_mean_encodingPreprocessorvariant. -
targetMeanEncoding
public static Preprocessor targetMeanEncoding(Function<TargetMeanEncodingPreprocessor.Builder, ObjectBuilder<TargetMeanEncodingPreprocessor>> fn) Creates a Preprocessor of thetarget_mean_encodingPreprocessorvariant.
-