K
- Type of keys.V
- Type of values.L
- Type of labels.public interface FeatureLabelExtractor<K,V,L> extends Preprocessor<K,V>
Modifier and Type | Method and Description |
---|---|
LabeledVector<L> |
extract(K k,
V v)
Extract
LabeledVector from key and value. |
default Vector |
extractFeatures(K key,
V val)
Extract features from key and value.
|
default L |
extractLabel(K key,
V val)
Extract label from key and value.
|
map
andThen
andThen, apply
LabeledVector<L> extract(K k, V v)
LabeledVector
from key and value.k
- Key.v
- Value.default Vector extractFeatures(K key, V val)
key
- Key.val
- Value.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024