Interface TransformStatistics

All Known Implementing Classes:
SimpleTransform

public interface TransformStatistics
An interface for the statistics that need to be collected for a specific Transformation on a single feature.

TransformStatistics are purely a runtime collection, they should not be persisted, nor can be directly constructed.

  • Method Summary

    Modifier and Type
    Method
    Description
    Generates the appropriate Transformer from the collected statistics.
    void
    Deprecated.
    in 4.1 as it's unnecessary.
    void
    observeSparse(int count)
    Observes count sparse values.
    void
    observeValue(double value)
    Observes a value and updates the statistics.
  • Method Details

    • observeValue

      void observeValue(double value)
      Observes a value and updates the statistics.
      Parameters:
      value - The value to observe.
    • observeSparse

      @Deprecated void observeSparse()
      Deprecated.
      in 4.1 as it's unnecessary.
      Observes a sparse (i.e., zero) value.
    • observeSparse

      void observeSparse(int count)
      Observes count sparse values.
      Parameters:
      count - The number of sparse values.
    • generateTransformer

      Transformer generateTransformer()
      Generates the appropriate Transformer from the collected statistics.
      Returns:
      The Transformer.