CLASS
- The type of classes produced by the Classifier
OBJECT
- The type of object classifed by the Classifier
public class CMAnalyser<OBJECT,CLASS> extends Object implements ClassificationAnalyser<CMResult<CLASS>,CLASS,OBJECT>
ClassificationAnalyser
that creates Confusion Matrices.Modifier and Type | Class and Description |
---|---|
static class |
CMAnalyser.Strategy
Strategies for building confusion matrices
|
Modifier and Type | Field and Description |
---|---|
protected CMAnalyser.Strategy |
strategy |
Constructor and Description |
---|
CMAnalyser(CMAnalyser.Strategy strategy)
Construct with the given strategy for building the confusion matrix
|
Modifier and Type | Method and Description |
---|---|
CMResult<CLASS> |
analyse(Map<OBJECT,ClassificationResult<CLASS>> predicted,
Map<OBJECT,Set<CLASS>> actual)
Analyse the performance of the predicted results against the actual
ground-truth results.
|
protected CMAnalyser.Strategy strategy
public CMAnalyser(CMAnalyser.Strategy strategy)
strategy
- the strategy