public interface BinaryLearningAlgorithm extends LearningAlgorithm
| Modifier and Type | Method and Description |
|---|---|
Label |
getLabel() |
List<Label> |
getLabels()
Returns the labels representing the concept to be learned.
|
void |
setLabel(Label label) |
void |
setLabels(List<Label> labels)
Sets the labels representing the concept to be learned.
|
duplicate, getPredictionFunction, learn, resetLabel getLabel()
void setLabel(Label label)
positiveClass - the label associated to the positive classvoid setLabels(List<Label> labels)
LearningAlgorithmsetLabels in interface LearningAlgorithmpositiveClass - the label associated to the positive class, i.e. the list must contain a single entryList<Label> getLabels()
LearningAlgorithmgetLabels in interface LearningAlgorithmCopyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.