javax.datamining.supervised.classification
Interface ClassificationTestMetrics

All Superinterfaces:
MiningObject, TestMetrics

public interface ClassificationTestMetrics
extends TestMetrics

ClassificationTestMetrics provides an interface to access the metadata resulting from executing a classification test task.

Author:
JSR-73 Java Data Mining Expert Group
See Also:
MiningObject, TestMetrics

Method Summary
 java.lang.Double getAccuracy()
          Returns the ratio of the number of correct predictions to all predictions made using the test data.
 ConfusionMatrix getConfusionMatrix()
          Returns the confusion matrix created as the result of classification test task if one was computed for the ClassificationTestTask or ClassificationTestMetricsTask.
 Lift getLift()
          Returns the lift result object if one was computed for the ClassificationTestTask or ClassificationTestMetricsTask.
 ReceiverOperatingCharacterics getROC()
          Returns the ROC result object if one was computed by the ClassificationTestTask or ClassificationTestMetricsTask.
 
Methods inherited from interface javax.datamining.supervised.TestMetrics
getModelName, getTaskIdentifier, getTestDataName
 
Methods inherited from interface javax.datamining.MiningObject
getCreationDate, getCreatorInfo, getDescription, getName, getObjectIdentifier, getObjectType, setDescription
 

Method Detail

getAccuracy

public java.lang.Double getAccuracy()
Returns the ratio of the number of correct predictions to all predictions made using the test data.

Returns:
Double

getConfusionMatrix

public ConfusionMatrix getConfusionMatrix()
Returns the confusion matrix created as the result of classification test task if one was computed for the ClassificationTestTask or ClassificationTestMetricsTask.

Returns:
ConfusionMatrix

getLift

public Lift getLift()
Returns the lift result object if one was computed for the ClassificationTestTask or ClassificationTestMetricsTask.

Returns:
Lift

getROC

public ReceiverOperatingCharacterics getROC()
Returns the ROC result object if one was computed by the ClassificationTestTask or ClassificationTestMetricsTask.

Returns:
ReceiverOperatingCharacterics