T
- Type of step function values.public class SimpleStepFunctionCompressor<T extends ImpurityMeasure<T>> extends Object implements StepFunctionCompressor<T>
Constructor and Description |
---|
SimpleStepFunctionCompressor()
Constructs a new instance of simple step function compressor with default parameters.
|
SimpleStepFunctionCompressor(int minSizeToBeCompressed,
double minImpurityIncreaseForRecord,
double minImpurityDecreaseForRecord)
Constructs a new instance of simple step function compressor.
|
Modifier and Type | Method and Description |
---|---|
StepFunction<T> |
compress(StepFunction<T> function)
Compresses the given step function.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compress
public SimpleStepFunctionCompressor()
public SimpleStepFunctionCompressor(int minSizeToBeCompressed, double minImpurityIncreaseForRecord, double minImpurityDecreaseForRecord)
minSizeToBeCompressed
- Min size of step function to be compressed.minImpurityIncreaseForRecord
- In case of compression min impurity increase that will be recorded.minImpurityDecreaseForRecord
- In case of compression min impurity decrease that will be recorded.public StepFunction<T> compress(StepFunction<T> function)
compress
in interface StepFunctionCompressor<T extends ImpurityMeasure<T>>
function
- Step function.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024