K
- Type of a key in upstream
data.V
- Type of a value in upstream
data.public class BinarizationTrainer<K,V> extends Object implements PreprocessingTrainer<K,V>
Constructor and Description |
---|
BinarizationTrainer() |
Modifier and Type | Method and Description |
---|---|
BinarizationPreprocessor<K,V> |
fit(LearningEnvironmentBuilder envBuilder,
DatasetBuilder<K,V> datasetBuilder,
Preprocessor<K,V> basePreprocessor)
Fits preprocessor.
|
double |
getThreshold()
Get the threshold parameter value.
|
BinarizationTrainer<K,V> |
withThreshold(double threshold)
Set the threshold parameter value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fit, fit, fit, fit, fit, learningEnvironment
public BinarizationPreprocessor<K,V> fit(LearningEnvironmentBuilder envBuilder, DatasetBuilder<K,V> datasetBuilder, Preprocessor<K,V> basePreprocessor)
fit
in interface PreprocessingTrainer<K,V>
envBuilder
- Learning environment builder.datasetBuilder
- Dataset builder.basePreprocessor
- Base preprocessor.public double getThreshold()
public BinarizationTrainer<K,V> withThreshold(double threshold)
threshold
- The given value.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024