Interface DLPredictionDecision
- All Known Implementing Classes:
SimpleDLDecision
public interface DLPredictionDecision
Decides whether a prediction has passed a threshold to be used to create a new
data unit.
Note that the majority of the time this will be a simple test of the value of predictions of a model but there will be cases when a classifier implements a more complex system. For example, a implementation could save a buffer of predictions so that previous predictions inform the latest prediction. Or results may include some sort of object detection components and frequency bounds etc could be used for classification.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isBinaryResult
(PredictionResult result) Check whether a single prediction passes a binary classifier.
-
Method Details
-
isBinaryResult
Check whether a single prediction passes a binary classifier. Prediction which pass decision will be passed on to create new data units.- Parameters:
result
- - the prediciton result to test.- Returns:
- true if the result is passed.
-