K
- Key type.V
- Value typeC
- Type of coordinate.public abstract static class ExtractionUtils.ObjectLabelVectorizer<K,V,C extends Serializable> extends Vectorizer<K,V,C,Object>
Vectorizer.LabelCoordinate, Vectorizer.VectorizerAdapter<K,V,C extends Serializable,L>
Constructor and Description |
---|
ObjectLabelVectorizer(C... coords)
Creates an instance of Vectorizer.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
label(C coord,
K key,
V value)
Extract label value by given coordinate.
|
protected Object |
zero()
Returns default label value for unlabeled data.
|
allCoords, apply, createVector, exclude, extract, feature, labeled, labeled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
extractFeatures, extractLabel
map
andThen
andThen
public ObjectLabelVectorizer(C... coords)
coords
- Coordinates.protected Object label(C coord, K key, V value)
label
in class Vectorizer<K,V,C extends Serializable,Object>
coord
- Coordinate.key
- Key.value
- Value.protected Object zero()
zero
in class Vectorizer<K,V,C extends Serializable,Object>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020