E
- class type of the Estimator implementation itself, used by WithParams
.M
- class type of the Model
this Estimator produces.@PublicEvolving public interface Estimator<E extends Estimator<E,M>,M extends Model<M>>
PipelineStage
s 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)
|
default void |
loadJson(String json) |
default String |
toJson() |
get, getParams, set
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–2020 The Apache Software Foundation. All rights reserved.