Class Preprocessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Preprocessor.Builder>
co.elastic.clients.elasticsearch.ml.put_trained_model.Preprocessor.Builder
- All Implemented Interfaces:
WithJson<Preprocessor.Builder>
,ObjectBuilder<Preprocessor>
- Enclosing class:
- Preprocessor
public static class Preprocessor.Builder extends WithJsonObjectBuilderBase<Preprocessor.Builder> implements ObjectBuilder<Preprocessor>
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Preprocessor
build()
ObjectBuilder<Preprocessor>
frequencyEncoding(FrequencyEncodingPreprocessor v)
ObjectBuilder<Preprocessor>
frequencyEncoding(java.util.function.Function<FrequencyEncodingPreprocessor.Builder,ObjectBuilder<FrequencyEncodingPreprocessor>> fn)
ObjectBuilder<Preprocessor>
oneHotEncoding(OneHotEncodingPreprocessor v)
ObjectBuilder<Preprocessor>
oneHotEncoding(java.util.function.Function<OneHotEncodingPreprocessor.Builder,ObjectBuilder<OneHotEncodingPreprocessor>> fn)
protected Preprocessor.Builder
self()
ObjectBuilder<Preprocessor>
targetMeanEncoding(TargetMeanEncodingPreprocessor v)
ObjectBuilder<Preprocessor>
targetMeanEncoding(java.util.function.Function<TargetMeanEncodingPreprocessor.Builder,ObjectBuilder<TargetMeanEncodingPreprocessor>> fn)
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<Preprocessor.Builder>
-
frequencyEncoding
-
frequencyEncoding
public ObjectBuilder<Preprocessor> frequencyEncoding(java.util.function.Function<FrequencyEncodingPreprocessor.Builder,ObjectBuilder<FrequencyEncodingPreprocessor>> fn) -
oneHotEncoding
-
oneHotEncoding
public ObjectBuilder<Preprocessor> oneHotEncoding(java.util.function.Function<OneHotEncodingPreprocessor.Builder,ObjectBuilder<OneHotEncodingPreprocessor>> fn) -
targetMeanEncoding
-
targetMeanEncoding
public ObjectBuilder<Preprocessor> targetMeanEncoding(java.util.function.Function<TargetMeanEncodingPreprocessor.Builder,ObjectBuilder<TargetMeanEncodingPreprocessor>> fn) -
build
- Specified by:
build
in interfaceObjectBuilder<Preprocessor>
-