public interface PredictionFunction
Modifier and Type | Method and Description |
---|---|
List<Label> |
getLabels()
Returns the labels representing the concept to be predicted.
|
Model |
getModel()
Returns the model
|
Prediction |
predict(Example example) |
void |
reset()
Resets all the predictor parameters to the default state.
|
void |
setLabels(List<Label> labels)
Sets the labels representing the concept to be predicted.
|
void |
setModel(Model model)
Sets the model
|
Prediction predict(Example example)
void reset()
void setLabels(List<Label> labels)
labels
- the labels representing the concept to be predictedList<Label> getLabels()
Model getModel()
void setModel(Model model)
model
- the model to setCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.