K - Type of a key in upstream data.V - Type of a value in upstream data.public class BinarizationPreprocessor<K,V> extends Object implements IgniteBiFunction<K,V,Vector>
| Constructor and Description |
|---|
BinarizationPreprocessor(double threshold,
IgniteBiFunction<K,V,Vector> basePreprocessor)
Constructs a new instance of Binarization preprocessor.
|
| Modifier and Type | Method and Description |
|---|---|
Vector |
apply(K k,
V v)
Applies this preprocessor.
|
double |
getThreshold()
Get the threshold parameter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenandThenpublic BinarizationPreprocessor(double threshold,
IgniteBiFunction<K,V,Vector> basePreprocessor)
threshold - Threshold value.basePreprocessor - Base preprocessor.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019