org.apache.ignite.ml.tree.impurity.util

## Interface StepFunctionCompressor<T extends ImpurityMeasure<T>>

- Type Parameters:
    `T` - Type of step function value.
  All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    SimpleStepFunctionCompressor

      public interface StepFunctionCompressor<T extends ImpurityMeasure<T>>
      extends Serializable

  Base interface for step function compressors which reduces step function size.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `StepFunction<T>` | `compress(StepFunction<T> function)` Compresses the given step function.
    `default StepFunction<T>[]` | `compress(StepFunction<T>[] functions)` Compresses every step function in the given array.

- - ### Method Detail

    - #### compress

          StepFunction<T> compress(StepFunction<T> function)

      Compresses the given step function.
      Parameters:
        `function` - Step function.
      Returns:
        Compressed step function.

    - #### compress

          default StepFunction<T>[] compress(StepFunction<T>[] functions)

      Compresses every step function in the given array.
      Parameters:
        `functions` - Array of step functions.
      Returns:
        Arrays of compressed step function.

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.10.0
Release Date | : March 10 2021