public class ScoredEvaluationCountsArray extends Object
scores (= thresholds) to the results. The results are
available as sums, e.g., truePositiveSums, or as document-wise
counts, e.g., truePositives.| Modifier and Type | Field and Description |
|---|---|
int[][] |
falseNegatives
Document-wise false negative counts for the different thresholds.
|
int[] |
falseNegativeSums
The false negative sums for the single thresholds.
|
int[][] |
falsePositives
Document-wise false positive counts for the different thresholds.
|
int[] |
falsePositiveSums
The false positive sums for the single thresholds.
|
double[] |
scores
Confidence thresholds.
|
int[][] |
truePositives
Document-wise true positive counts for the different thresholds.
|
int[] |
truePositiveSums
The true positive sums for the single thresholds.
|
| Constructor and Description |
|---|
ScoredEvaluationCountsArray(int numberOfScores,
int numberOfDocuments)
Constructor that allocates the needed arrays with the given size
parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static ScoredEvaluationCountsArray |
create(ScoredEvaluationCounts[][] scoredCounts)
This method creates a single
ScoredEvaluationCountsArray instance
that summarizes the numbers of the given ScoredEvaluationCounts
array. |
public double[] scores
public int[][] truePositives
public int[][] falseNegatives
public int[][] falsePositives
public int[] truePositiveSums
public int[] falseNegativeSums
public int[] falsePositiveSums
public ScoredEvaluationCountsArray(int numberOfScores,
int numberOfDocuments)
numberOfScores - numberOfDocuments - public static ScoredEvaluationCountsArray create(ScoredEvaluationCounts[][] scoredCounts)
ScoredEvaluationCountsArray instance
that summarizes the numbers of the given ScoredEvaluationCounts
array.scoredCounts - Copyright © 2014–2017. All rights reserved.