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 TypeMethodDescriptionGenerates the appropriateTransformerfrom the collected statistics.voidObserves a sparse (i.e., zero) value.voidobserveSparse(int count) Observescountsparse values.voidobserveValue(double value) Observes a value and updates the statistics.
-
Method Details
-
observeValue
Observes a value and updates the statistics.- Parameters:
value- The value to observe.
-
observeSparse
void observeSparse()Observes a sparse (i.e., zero) value. -
observeSparse
Observescountsparse values.- Parameters:
count- The number of sparse values.
-
generateTransformer
Generates the appropriateTransformerfrom the collected statistics.- Returns:
- The Transformer.
-