public class SequencePrediction extends Object implements Prediction
Constructor and Description |
---|
SequencePrediction() |
Modifier and Type | Method and Description |
---|---|
SequencePath |
bestPath() |
List<SequencePath> |
getPaths() |
Float |
getScore(Label label)
Return the prediction score associated to a given label
|
void |
setPaths(List<SequencePath> paths) |
String |
toString() |
public SequencePath bestPath()
public List<SequencePath> getPaths()
public Float getScore(Label label)
Prediction
getScore
in interface Prediction
label
- the label whose associated score is requiredpublic void setPaths(List<SequencePath> paths)
paths
- a list contains multiple labelings to be assigned to a single
sequenceCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.