E- class type of the Estimator implementation itself, used by
M- class type of the
Modelthis Estimator produces.
@PublicEvolving public interface Estimator<E extends Estimator<E,M>,M extends Model<M>>
PipelineStages responsible for training and generating machine learning models.
The implementations are expected to take an input table as training samples and generate a
Model which fits these samples.
|Modifier and Type||Method and Description|
M fit(TableEnvironment tEnv, Table input)
tEnv- the table environment to which the input table is bound.
input- the table with records to train the Model.
default String toJson()
default void loadJson(String json)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.