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, reset
Label getLabel()
void setLabel(Label label)
positiveClass
- the label associated to the positive classvoid setLabels(List<Label> labels)
LearningAlgorithm
setLabels
in interface LearningAlgorithm
positiveClass
- the label associated to the positive class, i.e. the list must contain a single entryList<Label> getLabels()
LearningAlgorithm
getLabels
in interface LearningAlgorithm
Copyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.