M - The class type of the ModelBase implementation itselfpublic abstract class ModelBase<M extends ModelBase<M>> extends TransformerBase<M> implements org.apache.flink.ml.api.core.Model<M>
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.flink.table.api.Table |
modelData |
paramsML_ENVIRONMENT_ID| Constructor and Description |
|---|
ModelBase() |
ModelBase(org.apache.flink.ml.api.misc.param.Params params) |
| Modifier and Type | Method and Description |
|---|---|
M |
clone() |
org.apache.flink.table.api.Table |
getModelData()
Get model data as Table representation.
|
default void |
loadJson(String arg0) |
M |
setModelData(org.apache.flink.table.api.Table modelData)
Set the model data using the Table.
|
default String |
toJson() |
transform, transform, transform, transformgetParams, tableEnvOfequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMLEnvironmentId, setMLEnvironmentIdpublic ModelBase()
public ModelBase(org.apache.flink.ml.api.misc.param.Params params)
public org.apache.flink.table.api.Table getModelData()
public M setModelData(org.apache.flink.table.api.Table modelData)
modelData - the Table.ModelBase itselfpublic M clone() throws CloneNotSupportedException
clone in class PipelineStageBase<M extends ModelBase<M>>CloneNotSupportedExceptionpublic String toJson()
public void loadJson(String arg0)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.