javax.datamining.supervised.classification
Interface ClassificationTestTaskFactory

All Superinterfaces:
Factory

public interface ClassificationTestTaskFactory
extends Factory

A factory class that creates instances of ClassificationTestTask.

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

Method Summary
 ClassificationTestTask create(java.lang.String testDataName, java.lang.String modelName, java.lang.String testResultName)
          Creates an instance of ClassificationTestTask with the specified test data, the model to be used, and the name of the result.
 boolean supportsCapability(ClassificationTestMetricOption metricOption)
          Returns true if the metric option specified is supported by the implementation, false otherwise.
 boolean supportsCapability(TestTaskCapability capability)
          Returns true if the capability specified is supported by the implementation, false otherwise.
 

Method Detail

create

public ClassificationTestTask create(java.lang.String testDataName,
                                     java.lang.String modelName,
                                     java.lang.String testResultName)
                              throws JDMException
Creates an instance of ClassificationTestTask with the specified test data, the model to be used, and the name of the result.

Parameters:
testDataName - The input data to be used for test.
modelName - The name of the model to be tested.
testResultName - The name of the test result to be created.
Returns:
ClassificationTestTask
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

supportsCapability

public boolean supportsCapability(TestTaskCapability capability)
                           throws JDMException
Returns true if the capability specified is supported by the implementation, false otherwise.

Parameters:
capability -
Returns:
boolean
Throws:
JDMException