public class BinaryConfusionMatrixImpl extends Object implements BinaryConfusionMatrix, scala.Product, scala.Serializable
BinaryConfusionMatrix.
| Constructor and Description |
|---|
BinaryConfusionMatrixImpl(BinaryLabelCounter count,
BinaryLabelCounter totalCount) |
| Modifier and Type | Method and Description |
|---|---|
BinaryLabelCounter |
count() |
long |
numFalseNegatives()
number of false negatives
|
long |
numFalsePositives()
number of false positives
|
long |
numNegatives()
number of negatives
|
long |
numPositives()
number of positives
|
long |
numTrueNegatives()
number of true negatives
|
long |
numTruePositives()
number of true positives
|
BinaryLabelCounter |
totalCount() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic BinaryConfusionMatrixImpl(BinaryLabelCounter count, BinaryLabelCounter totalCount)
public BinaryLabelCounter count()
public BinaryLabelCounter totalCount()
public long numTruePositives()
numTruePositives in interface BinaryConfusionMatrixpublic long numFalsePositives()
numFalsePositives in interface BinaryConfusionMatrixpublic long numFalseNegatives()
numFalseNegatives in interface BinaryConfusionMatrixpublic long numTrueNegatives()
numTrueNegatives in interface BinaryConfusionMatrixpublic long numPositives()
numPositives in interface BinaryConfusionMatrixpublic long numNegatives()
numNegatives in interface BinaryConfusionMatrix