M
- The class type of the ModelBase
implementation itselfpublic abstract class ModelBase<M extends ModelBase<M>> extends TransformerBase<M> implements Model<M>
Modifier and Type | Field and Description |
---|---|
protected Table |
modelData |
params
ML_ENVIRONMENT_ID
Modifier and Type | Method and Description |
---|---|
M |
clone() |
Table |
getModelData()
Get model data as Table representation.
|
default void |
loadJson(String json) |
M |
setModelData(Table modelData)
Set the model data using the Table.
|
default String |
toJson() |
transform, transform, transform, transform
getParams, tableEnvOf
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
transform
get, getParams, set
getMLEnvironmentId, setMLEnvironmentId
protected Table modelData
public ModelBase()
public ModelBase(Params params)
public Table getModelData()
public M setModelData(Table modelData)
modelData
- the Table.ModelBase
itselfpublic M clone() throws CloneNotSupportedException
clone
in class PipelineStageBase<M extends ModelBase<M>>
CloneNotSupportedException
public String toJson()
public void loadJson(String json)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.