javax.datamining.supervised.classification
Interface ClassificationTestMetricsTaskFactory

All Superinterfaces:
Factory

public interface ClassificationTestMetricsTaskFactory
extends Factory

A factory that creates instances of ClassificationTestMetricsTask.

Author:
JSR-73 Java Data Mining Expert Group
See Also:
Factory

Method Summary
 ClassificationTestMetricsTask create(java.lang.String applyOutputData, java.lang.String actualTargetAttrName, java.lang.String predictedTargetAttrName, java.lang.String testMetricsName)
          Creates an instance of ClassificationTestMetricsTask with the specified apply output data, the actual target attribute name and the prediction attribute name in the apply output data, and the name of the result.
 boolean supportsCapability(ClassificationTestMetricOption metricOption)
          Returns true if the metric option specified is supported by the implementation, false otherwise.
 

Method Detail

create

public ClassificationTestMetricsTask create(java.lang.String applyOutputData,
                                            java.lang.String actualTargetAttrName,
                                            java.lang.String predictedTargetAttrName,
                                            java.lang.String testMetricsName)
                                     throws JDMException
Creates an instance of ClassificationTestMetricsTask with the specified apply output data, the actual target attribute name and the prediction attribute name in the apply output data, and the name of the result.

Parameters:
applyOutputData - The input data to be used for test.
actualTargetAttrName - The attribute name for the actual targets in the apply output data.
predictedTargetAttrName - The attribute name for the predicted targets in the apply output data.
testMetricsName - The name of the test metrics to be persisted as the result of execution.
Returns:
ClassificationTestMetricsTask
Throws:
JDMException

supportsCapability

public boolean supportsCapability(ClassificationTestMetricOption metricOption)
                           throws JDMException
Returns true if the metric option specified is supported by the implementation, false otherwise.

Parameters:
metricOption -
Returns:
boolean
Throws:
JDMException