K - Type of a key in upstream data.V - Type of a value in upstream data.public class OneHotEncoderPreprocessor<K,V> extends EncoderPreprocessor<K,V>
basePreprocessor, encodingValues, handledIndices, KEY_FOR_NULL_VALUES| Constructor and Description |
|---|
OneHotEncoderPreprocessor(Map<String,Integer>[] encodingValues,
IgniteBiFunction<K,V,Object[]> basePreprocessor,
Set<Integer> handledIndices)
Constructs a new instance of One Hot Encoder preprocessor.
|
| Modifier and Type | Method and Description |
|---|---|
Vector |
apply(K k,
V v)
Applies this preprocessor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenandThenpublic OneHotEncoderPreprocessor(Map<String,Integer>[] encodingValues, IgniteBiFunction<K,V,Object[]> basePreprocessor, Set<Integer> handledIndices)
basePreprocessor - Base preprocessor.handledIndices - Handled indices.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019