CategoryType
- The type of category of the summarizer.public static class DefaultConfusionMatrix.ActualPredictedPairSummarizer<CategoryType> extends AbstractCloneableSerializable implements Summarizer<Pair<? extends CategoryType,? extends CategoryType>,DefaultConfusionMatrix<CategoryType>>
Constructor and Description |
---|
ActualPredictedPairSummarizer()
Creates a new
CombineSummarizer . |
Modifier and Type | Method and Description |
---|---|
DefaultConfusionMatrix<CategoryType> |
summarize(java.util.Collection<? extends Pair<? extends CategoryType,? extends CategoryType>> data)
Creates a summary of the given collection of data.
|
clone
public ActualPredictedPairSummarizer()
CombineSummarizer
.public DefaultConfusionMatrix<CategoryType> summarize(java.util.Collection<? extends Pair<? extends CategoryType,? extends CategoryType>> data)
Summarizer
summarize
in interface Summarizer<Pair<? extends CategoryType,? extends CategoryType>,DefaultConfusionMatrix<CategoryType>>
data
- The collection of data to summarize.