K
- Key type.public final class DoubleArrayVectorizer<K> extends ExtractionUtils.ArrayLikeVectorizer<K,double[]> implements DeployableObject
Vectorizer.LabelCoordinate, Vectorizer.VectorizerAdapter<K,V,C extends Serializable,L>
Constructor and Description |
---|
DoubleArrayVectorizer(Integer... coords)
Creates an instance of Vectorizer.
|
Modifier and Type | Method and Description |
---|---|
protected Double |
feature(Integer coord,
K key,
double[] 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 int |
sizeOf(K key,
double[] value)
Size of array-like structure of upstream object.
|
allCoords
label, zero
apply, createVector, exclude, extract, labeled, labeled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
extractFeatures, extractLabel
map
andThen
andThen
public DoubleArrayVectorizer(Integer... coords)
coords
- Coordinates.protected Double feature(Integer coord, K key, double[] value)
feature
in class Vectorizer<K,double[],Integer,Double>
coord
- Coordinate.key
- Key.value
- Value.protected int sizeOf(K key, double[] value)
sizeOf
in class ExtractionUtils.ArrayLikeVectorizer<K,double[]>
key
- Key.value
- Value.public List<Object> getDependencies()
getDependencies
in interface DeployableObject
GridGain In-Memory Computing Platform : ver. 8.9.19 Release Date : April 10 2025