public abstract class MLModel<PREDICTION> extends Object implements Serializable
Constructor and Description |
---|
MLModel() |
Modifier and Type | Method and Description |
---|---|
String |
getAlgoName()
The algo name.
|
Date |
getCreatedAt()
The created at.
|
List<String> |
getFeatureColumns()
The feature columns.
|
String |
getId()
The id.
|
String |
getLabelColumn()
The label column.
|
List<String> |
getParams()
The params.
|
String |
getTable()
The table.
|
abstract PREDICTION |
predict(Object... args)
Predict.
|
void |
setAlgoName(String algoName)
The algo name.
|
void |
setCreatedAt(Date createdAt)
The created at.
|
void |
setFeatureColumns(List<String> featureColumns)
The feature columns.
|
void |
setId(String id)
The id.
|
void |
setLabelColumn(String labelColumn)
The label column.
|
void |
setParams(List<String> params)
The params.
|
void |
setTable(String table)
The table.
|
String |
toString() |
@Generated(value="lombok") public MLModel()
public abstract PREDICTION predict(Object... args)
args
- the args@Generated(value="lombok") public String toString()
@Generated(value="lombok") public String getId()
@Generated(value="lombok") public void setId(String id)
@Generated(value="lombok") public Date getCreatedAt()
@Generated(value="lombok") public void setCreatedAt(Date createdAt)
@Generated(value="lombok") public String getAlgoName()
@Generated(value="lombok") public void setAlgoName(String algoName)
@Generated(value="lombok") public String getTable()
@Generated(value="lombok") public void setTable(String table)
@Generated(value="lombok") public List<String> getParams()
@Generated(value="lombok") public void setParams(List<String> params)
@Generated(value="lombok") public String getLabelColumn()
@Generated(value="lombok") public void setLabelColumn(String labelColumn)
@Generated(value="lombok") public List<String> getFeatureColumns()
@Generated(value="lombok") public void setFeatureColumns(List<String> featureColumns)
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.