| Modifier and Type | Class and Description |
|---|---|
class |
BasicClassificationResult<CLASS>
A basic implementation of a
ClassificationResult that internally
maintains a map of classes to confidences. |
| Modifier and Type | Method and Description |
|---|---|
ClassificationResult<CLASS> |
Classifier.classify(OBJECT object)
Classify an object.
|
| Modifier and Type | Method and Description |
|---|---|
Map<OBJECT,ClassificationResult<CLASS>> |
ClassificationEvaluator.evaluate() |
| Modifier and Type | Method and Description |
|---|---|
static <CLASS> CLASS |
ClassificationResultUtils.getHighestConfidenceClass(ClassificationResult<CLASS> result)
Get the class with the highest confidence
|
static <CLASS> List<ObjectDoublePair<CLASS>> |
ClassificationResultUtils.getSortedClassesAndConfidences(ClassificationResult<CLASS> result)
Get the all classes and confidences, sorted by decreasing confidence
|
| Modifier and Type | Method and Description |
|---|---|
RESULT |
ClassificationEvaluator.analyse(Map<OBJECT,ClassificationResult<CLASS>> predicted) |
RESULT |
ClassificationAnalyser.analyse(Map<OBJECT,ClassificationResult<CLASS>> predicted,
Map<OBJECT,Set<CLASS>> actual)
Analyse the performance of the predicted results against the actual
ground-truth results.
|
| Constructor and Description |
|---|
ClassificationEvaluator(Map<OBJECT,ClassificationResult<CLASS>> results,
Map<OBJECT,Set<CLASS>> actual,
ClassificationAnalyser<RESULT,CLASS,OBJECT> analyser)
Construct a new
ClassificationEvaluator with the given
pre-classified results, the ground truth ("actual") data and an
ClassificationAnalyser. |
| Modifier and Type | Method and Description |
|---|---|
CMResult<CLASS> |
CMAnalyser.analyse(Map<OBJECT,ClassificationResult<CLASS>> predicted,
Map<OBJECT,Set<CLASS>> actual) |
| Modifier and Type | Method and Description |
|---|---|
ROCResult<CLASS> |
ROCAnalyser.analyse(Map<OBJECT,ClassificationResult<CLASS>> predicted,
Map<OBJECT,Set<CLASS>> actual) |
| Modifier and Type | Method and Description |
|---|---|
ClassificationResult<ANNOTATION> |
AbstractAnnotator.classify(OBJECT object) |