K
- Key type.V
- Value typeC
- Type of coordinate.public abstract static class ExtractionUtils.DefaultLabelVectorizer<K,V,C extends Serializable> extends Vectorizer<K,V,C,Double>
Vectorizer.LabelCoordinate, Vectorizer.VectorizerAdapter<K,V,C extends Serializable,L>
Constructor and Description |
---|
DefaultLabelVectorizer(C... coords)
Creates an instance of Vectorizer.
|
Modifier and Type | Method and Description |
---|---|
protected Double |
label(C coord,
K key,
V value)
Extract label value by given coordinate.
|
protected Double |
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 DefaultLabelVectorizer(C... coords)
coords
- Coordinates.protected Double label(C coord, K key, V value)
label
in class Vectorizer<K,V,C extends Serializable,Double>
coord
- Coordinate.key
- Key.value
- Value.protected Double zero()
zero
in class Vectorizer<K,V,C extends Serializable,Double>
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024