public class ConfusionMatrix extends Object
Constructor and Description |
---|
ConfusionMatrix() |
Modifier and Type | Method and Description |
---|---|
long |
getFalseNegatives() |
long |
getFalsePositives() |
long |
getTrueNegatives() |
long |
getTruePositives() |
void |
setFalseNegatives(long falseNegatives) |
void |
setFalsePositives(long falsePositives) |
void |
setTrueNegatives(long trueNegatives) |
void |
setTruePositives(long truePositives) |
String |
toString() |
public long getTruePositives()
public void setTruePositives(long truePositives)
truePositives
- Set number of true positivespublic long getTrueNegatives()
public void setTrueNegatives(long trueNegatives)
trueNegatives
- Set number of true negativespublic long getFalsePositives()
public void setFalsePositives(long falsePositives)
falsePositives
- Sets number of false positivespublic long getFalseNegatives()
public void setFalseNegatives(long falseNegatives)
falseNegatives
- Sets number of false negativesCopyright © 2015 WSO2, Inc.. All Rights Reserved.