K
- Type of a key in upstream
data.V
- Type of a value in upstream
data.public final class NormalizationPreprocessor<K,V> extends Object implements Preprocessor<K,V>, DeployableObject
Constructor and Description |
---|
NormalizationPreprocessor(int p,
Preprocessor<K,V> basePreprocessor)
Constructs a new instance of Normalization preprocessor.
|
Modifier and Type | Method and Description |
---|---|
LabeledVector |
apply(K k,
V v)
Applies this preprocessor.
|
List<Object> |
getDependencies()
Returns dependencies of this object that can be object with class defined by client side and unknown for server.
|
double |
p()
Gets the degree of L^p space parameter value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
map
andThen
andThen
public NormalizationPreprocessor(int p, Preprocessor<K,V> basePreprocessor)
p
- Degree of L^p space value.basePreprocessor
- Base preprocessor.public LabeledVector apply(K k, V v)
apply
in interface BiFunction<K,V,LabeledVector>
k
- Key.v
- Value.public double p()
public List<Object> getDependencies()
getDependencies
in interface DeployableObject
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024