javax.datamining.supervised.regression
Interface RegressionTestTaskFactory

All Superinterfaces:
Factory

public interface RegressionTestTaskFactory
extends Factory

A factory class that creates instances of RegressionTestTask.

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

Method Summary
 RegressionTestTask create(java.lang.String inputDataName, java.lang.String modelName, java.lang.String testMetricsName)
          Creates an instance of RegressionTestTask with the specified test data, the model to be used, and the name of the test metrics by which the test metrics object is persisted.
 boolean supportsCapability(TestTaskCapability capability)
          Returns true if the capability specified is supported by the implementation, false otherwise.
 

Method Detail

create

public RegressionTestTask create(java.lang.String inputDataName,
                                 java.lang.String modelName,
                                 java.lang.String testMetricsName)
                          throws JDMException
Creates an instance of RegressionTestTask with the specified test data, the model to be used, and the name of the test metrics by which the test metrics object is persisted. The names cannot be null.

Parameters:
inputDataName - The input data to be used for test.
modelName - The name of the model to be tested.
testMetricsName - The name of the test metrics to be created as the result of task execution.
Returns:
RegressionTestTask
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