K
- Type of key.V
- Type of value.C
- Type of coordinate.L
- Type od label.public abstract static class Vectorizer.VectorizerAdapter<K,V,C extends Serializable,L> extends Vectorizer<K,V,C,L>
Vectorizer.LabelCoordinate, Vectorizer.VectorizerAdapter<K,V,C extends Serializable,L>
Constructor and Description |
---|
VectorizerAdapter() |
Modifier and Type | Method and Description |
---|---|
protected List<C> |
allCoords(K key,
V value)
Returns list of all coordinate with feature values.
|
protected Double |
feature(C coord,
K key,
V value)
Extracts feature value by given coordinate.
|
protected L |
label(C coord,
K key,
V value)
Extract label value by given coordinate.
|
protected L |
zero()
Returns default label value for unlabeled data.
|
apply, createVector, exclude, extract, labeled, labeled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
extractFeatures, extractLabel
map
andThen
andThen
protected Double feature(C coord, K key, V value)
feature
in class Vectorizer<K,V,C extends Serializable,L>
coord
- Coordinate.key
- Key.value
- Value.protected L label(C coord, K key, V value)
label
in class Vectorizer<K,V,C extends Serializable,L>
coord
- Coordinate.key
- Key.value
- Value.protected L zero()
zero
in class Vectorizer<K,V,C extends Serializable,L>
GridGain In-Memory Computing Platform : ver. 8.9.19 Release Date : April 10 2025