javax.datamining.task.apply
Interface RecordApplyTaskFactory

All Superinterfaces:
Factory

public interface RecordApplyTaskFactory
extends Factory

A factory class that creates instances of RecordApplyTask.

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

Method Summary
 RecordApplyTask create(PhysicalDataRecord applyRecord, java.lang.String modelName, java.lang.String applySettingsName)
          Creates an instance of RecordApplyTask with the specified input data record, the model to apply, and the specification of the apply output.
 

Method Detail

create

public RecordApplyTask create(PhysicalDataRecord applyRecord,
                              java.lang.String modelName,
                              java.lang.String applySettingsName)
                       throws JDMException
Creates an instance of RecordApplyTask with the specified input data record, the model to apply, and the specification of the apply output. The apply result is not persisted. To facilitate fast record scoring, the input record is also modified to include the result of scoring, which can be obtained by invoking getOutputRecord method.

Parameters:
applyRecord - A physical record to be used for apply.
modelName - The name of the model to be used for apply.
applySettingsName - The specification of apply output.
Returns:
RecordApplyTask
Throws:
JDMException