K
- Type of a key in upstream
data.V
- Type of a value in upstream
data.public abstract class EncoderPreprocessor<K,V> extends Object implements Preprocessor<K,V>
Modifier and Type | Field and Description |
---|---|
protected Preprocessor<K,V> |
basePreprocessor
Base preprocessor.
|
protected Map<String,Integer>[] |
encodingValues
Filling values.
|
protected Set<Integer> |
handledIndices
Feature indices to apply encoder.
|
static String |
KEY_FOR_NULL_VALUES |
protected Map<String,Integer> |
labelFrequencies
Frequencies of categories for label presented as strings.
|
Modifier | Constructor and Description |
---|---|
protected |
EncoderPreprocessor(Map<String,Integer>[] encodingValues,
Preprocessor<K,V> basePreprocessor,
Set<Integer> handledIndices)
Constructs a new instance of Encoder preprocessor.
|
protected |
EncoderPreprocessor(Map<String,Integer> labelFrequencies,
Preprocessor<K,V> basePreprocessor)
Constructs a new instance of Encoder preprocessor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
map
andThen
andThen, apply
public static final String KEY_FOR_NULL_VALUES
protected Map<String,Integer> labelFrequencies
protected final Preprocessor<K,V> basePreprocessor
protected EncoderPreprocessor(Map<String,Integer>[] encodingValues, Preprocessor<K,V> basePreprocessor, Set<Integer> handledIndices)
basePreprocessor
- Base preprocessor.handledIndices
- Handled indices.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021