Package annotation.classifier
Class BaseClassificationAnnotation
java.lang.Object
annotation.DataAnnotation<BaseClassificationAnnotationType>
annotation.classifier.BaseClassificationAnnotation
-
Constructor Summary
ConstructorDescriptionBaseClassificationAnnotation
(BaseClassificationAnnotationType dataAnnotationType, double score, String label, String method) -
Method Summary
Methods inherited from class annotation.DataAnnotation
getDataAnnotationType
-
Constructor Details
-
BaseClassificationAnnotation
public BaseClassificationAnnotation(BaseClassificationAnnotationType dataAnnotationType, double score, String label, String method)
-
-
Method Details
-
getScore
public double getScore()- Returns:
- the score
-
setScore
public void setScore(double score) - Parameters:
score
- the score to set
-
getLabel
- Returns:
- the label assigned to the call
-
setLabel
- Parameters:
label
- of the classification
-
getMethod
- Returns:
- the method
-
setMethod
- Parameters:
method
- the method to set
-
toString
-