K - Type of key.public class LabeledDummyVectorizer<K,L> extends Vectorizer<K,LabeledVector<L>,Integer,L> implements DeployableObject
Vectorizer.LabelCoordinate, Vectorizer.VectorizerAdapter<K,V,C extends Serializable,L>| Constructor and Description |
|---|
LabeledDummyVectorizer(Integer... coords)
Creates an instance of Vectorizer.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Integer> |
allCoords(K key,
LabeledVector<L> value)
Returns list of all coordinate with feature values.
|
protected Double |
feature(Integer coord,
K key,
LabeledVector<L> value)
Extracts feature value by given coordinate.
|
List<Object> |
getDependencies()
Returns dependencies of this object that can be object with class defined by client side and unknown for server.
|
protected L |
label(Integer coord,
K key,
LabeledVector<L> 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, extractLabelmapandThenandThenpublic LabeledDummyVectorizer(Integer... coords)
coords - Coordinates.protected Double feature(Integer coord, K key, LabeledVector<L> value)
feature in class Vectorizer<K,LabeledVector<L>,Integer,L>coord - Coordinate.key - Key.value - Value.protected L label(Integer coord, K key, LabeledVector<L> value)
label in class Vectorizer<K,LabeledVector<L>,Integer,L>coord - Coordinate.key - Key.value - Value.protected L zero()
zero in class Vectorizer<K,LabeledVector<L>,Integer,L>protected List<Integer> allCoords(K key, LabeledVector<L> value)
allCoords in class Vectorizer<K,LabeledVector<L>,Integer,L>key - Key.value - Value.public List<Object> getDependencies()
getDependencies in interface DeployableObject
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025