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, labeledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitextractFeatures, extractLabelmapandThenandThenprotected 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>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.14.0 Release Date : September 29 2022