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, wait
public BinaryConfusionMatrixImpl(BinaryLabelCounter count, BinaryLabelCounter totalCount)
public BinaryLabelCounter count()
public BinaryLabelCounter totalCount()
public long numTruePositives()
numTruePositives
in interface BinaryConfusionMatrix
public long numFalsePositives()
numFalsePositives
in interface BinaryConfusionMatrix
public long numFalseNegatives()
numFalseNegatives
in interface BinaryConfusionMatrix
public long numTrueNegatives()
numTrueNegatives
in interface BinaryConfusionMatrix
public long numPositives()
numPositives
in interface BinaryConfusionMatrix
public long numNegatives()
numNegatives
in interface BinaryConfusionMatrix