|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.sandia.cognition.learning.performance.categorization.DefaultBinaryConfusionMatrixConfidenceInterval
public class DefaultBinaryConfusionMatrixConfidenceInterval
Puts Student-t ConfidenceIntervals on each entry of the ConfusionMatrix
Nested Class Summary | |
---|---|
static class |
DefaultBinaryConfusionMatrixConfidenceInterval.Summary
An implementation of the Summarizer interface for creating a
ConfusionMatrixInterval |
Constructor Summary | |
---|---|
DefaultBinaryConfusionMatrixConfidenceInterval(double confidence,
ConfidenceInterval falsePositivesRate,
ConfidenceInterval falseNegativesRate,
ConfidenceInterval truePositivesRate,
ConfidenceInterval trueNegativesRate)
Creates a new instance of ConfusionMatrixConfidenceInterval |
Method Summary | |
---|---|
protected static void |
checkConfidence(double confidence)
Checks to make sure that confidence is between 0.0 and 1.0. |
static DefaultBinaryConfusionMatrixConfidenceInterval |
compute(Collection<? extends DefaultBinaryConfusionMatrix> data,
double confidence)
Computes the ConfidenceIntervals for the given Collection of ConfusionMatrices |
double |
getConfidence()
Getter for confidence |
ConfidenceInterval |
getFalseNegativesRate()
Getter for falseNegativesRate |
ConfidenceInterval |
getFalsePositivesRate()
Getter for falsePositivesRate |
ConfidenceInterval |
getTrueNegativesRate()
Getter for trueNegativesRate |
ConfidenceInterval |
getTruePositivesRate()
Getter for truePositivesRate |
protected void |
setConfidence(double confidence)
Setter for confidence |
protected void |
setFalseNegativesRate(ConfidenceInterval falseNegativesRate)
Setter for falseNegativesRate |
protected void |
setFalsePositivesRate(ConfidenceInterval falsePositivesRate)
Setter for falsePositivesRate |
protected void |
setTrueNegativesRate(ConfidenceInterval trueNegativesRate)
Setter for trueNegativesRate |
protected void |
setTruePositivesRate(ConfidenceInterval truePositivesRate)
Setter for truePositivesRate |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultBinaryConfusionMatrixConfidenceInterval(double confidence, ConfidenceInterval falsePositivesRate, ConfidenceInterval falseNegativesRate, ConfidenceInterval truePositivesRate, ConfidenceInterval trueNegativesRate)
confidence
- Confidence that the statistic is within the bound, or 1-alpha, on the
interval [0,1], where confidence=0 means definitely not within the bound
and confidence=1 means definitely within the bound.falsePositivesRate
- The fraction of target falses incorrectly classified as true,
FalsePositives / TotalNegatives = 1 - TrueNegativesRatefalseNegativesRate
- The fraction of target falses incorrectly classified as false,
FalseNegatives / TotalPositives = 1 - TruePositivesRatetruePositivesRate
- The fraction of target trues that were correctly classified as true,
TruePositives / TotalPositives = TruePositives / (TruePositives + FalseNegatives)trueNegativesRate
- The fraction of negative targets correctly classified as false,
TrueNegatives / TotalNegatives = TrueNegatives / (TrueNegatives + FalsePositives)Method Detail |
---|
public ConfidenceInterval getFalsePositivesRate()
protected void setFalsePositivesRate(ConfidenceInterval falsePositivesRate)
falsePositivesRate
- The fraction of target falses incorrectly classified as true,
FalsePositives / TotalNegatives = 1 - TrueNegativesRatepublic ConfidenceInterval getFalseNegativesRate()
protected void setFalseNegativesRate(ConfidenceInterval falseNegativesRate)
falseNegativesRate
- The fraction of target falses incorrectly classified as false,
FalseNegatives / TotalPositives = 1 - TruePositivesRatepublic ConfidenceInterval getTruePositivesRate()
protected void setTruePositivesRate(ConfidenceInterval truePositivesRate)
truePositivesRate
- The fraction of target trues that were correctly classified as true,
TruePositives / TotalPositives = TruePositives / (TruePositives + FalseNegatives)public ConfidenceInterval getTrueNegativesRate()
protected void setTrueNegativesRate(ConfidenceInterval trueNegativesRate)
trueNegativesRate
- The fraction of negative targets correctly classified as false,
TrueNegatives / TotalNegatives = TrueNegatives / (TrueNegatives + FalsePositives)public double getConfidence()
protected void setConfidence(double confidence)
confidence
- Confidence that the statistic is within the bound, or 1-alpha, on the
interval [0,1], where confidence=0 means definitely not within the bound
and confidence=1 means definitely within the bound.protected static void checkConfidence(double confidence)
confidence
- The confidence.public String toString()
toString
in class Object
public static DefaultBinaryConfusionMatrixConfidenceInterval compute(Collection<? extends DefaultBinaryConfusionMatrix> data, double confidence)
data
- Collection of ConfusionMatrices from which to compute the
ConfidenceIntervalsconfidence
- Confidence that the statistic is within the bound, or 1-alpha, on the
interval [0,1], where confidence=0 means definitely not within the bound
and confidence=1 means definitely within the bound.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |