E - A subclass of the EstimatorBase, used by WithParamsM - class type of the ModelBase this Estimator produces.public abstract class EstimatorBase<E extends EstimatorBase<E,M>,M extends ModelBase<M>> extends PipelineStageBase<E> implements org.apache.flink.ml.api.core.Estimator<E,M>
paramsML_ENVIRONMENT_ID| 构造器和说明 |
|---|
EstimatorBase() |
EstimatorBase(org.apache.flink.ml.api.misc.param.Params params) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract M |
fit(BatchOperator input)
Train and produce a
ModelBase which fits the records from the given BatchOperator. |
protected M |
fit(StreamOperator input)
Online learning and produce
ModelBase series which fit the streaming records from the
given StreamOperator. |
M |
fit(org.apache.flink.table.api.Table input)
Train and produce a
ModelBase which fits the records in the given Table. |
M |
fit(org.apache.flink.table.api.TableEnvironment tEnv,
org.apache.flink.table.api.Table input) |
default void |
loadJson(String arg0) |
default String |
toJson() |
clone, getParams, tableEnvOfequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMLEnvironmentId, setMLEnvironmentIdpublic EstimatorBase()
public EstimatorBase(org.apache.flink.ml.api.misc.param.Params params)
public M fit(org.apache.flink.table.api.TableEnvironment tEnv, org.apache.flink.table.api.Table input)
public M fit(org.apache.flink.table.api.Table input)
ModelBase which fits the records in the given Table.input - the table with records to train the Model.protected abstract M fit(BatchOperator input)
ModelBase which fits the records from the given BatchOperator.input - the table with records to train the Model.protected M fit(StreamOperator input)
ModelBase series which fit the streaming records from the
given StreamOperator.input - the StreamOperator with streaming records to online train the Model series.public String toJson()
public void loadJson(String arg0)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.