- Type Parameters:
T
- The class type of the Transformer implementation itself.
- All Superinterfaces:
- AlgoOperator<T>, Serializable, Stage<T>, WithParams<T>
- All Known Subinterfaces:
- Model<T>
- All Known Implementing Classes:
- GraphModel, KMeansModel, KnnModel, LogisticRegressionModel, NaiveBayesModel, OneHotEncoderModel, PipelineModel
@PublicEvolving
public interface Transformer<T extends Transformer<T>>
extends AlgoOperator<T>
A Transformer is an AlgoOperator with the semantic difference that it encodes the Transformation
logic, such that a record in the output typically corresponds to one record in the input. In
contrast, an AlgoOperator is a better fit to express aggregation logic where a record in the
output could be computed from an arbitrary number of records in the input.