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.voidDeprecated.in 4.1 as it's unnecessary.voidobserveSparse(int count) Observescountsparse values.voidobserveValue(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.in 4.1 as it's unnecessary.Observes a sparse (i.e., zero) value. -
observeSparse
void observeSparse(int count) Observescountsparse values.- Parameters:
count- The number of sparse values.
-
generateTransformer
Transformer generateTransformer()Generates the appropriateTransformerfrom the collected statistics.- Returns:
- The Transformer.
-