javax.datamining.task
Interface ComputeStatisticsTask

All Superinterfaces:
MiningObject, Task

public interface ComputeStatisticsTask
extends Task

ComputeStatisticsTask is a task that computes statistics on the specified data.

If no LogicalData is specified, the task computes statistics as if the LogicalData were created directly from the PhysicalData.

If LogicalData is specified, it indicates which attributes have statistics computed and provides directives as to how data should be interpreted.

It is implementation defined as to which statistics are computed for each attribute type.

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

Method Summary
 java.lang.String getLogicalDataName()
          Returns the name of the LogicalData object.
 java.lang.String getPhysicalDataName()
          Returns the name of the PhysicalDataSet from which statistics are to be computed.
 void setLogicalDataName(java.lang.String logicalDataName)
          Sets the name of the LogicalData to be used as a reference for more detailed attribute information that can direct statistics computation.
 void setPhysicalDataName(java.lang.String name)
          Sets the name of the PhysicalDataSet from which statistics are computed.
 VerificationReport verify()
          Determines whether the specification of the compute statistics task is correct.
 
Methods inherited from interface javax.datamining.base.Task
getExecutionHandle
 
Methods inherited from interface javax.datamining.MiningObject
getCreationDate, getCreatorInfo, getDescription, getName, getObjectIdentifier, getObjectType, setDescription
 

Method Detail

getLogicalDataName

public java.lang.String getLogicalDataName()
Returns the name of the LogicalData object.

Returns:
String

getPhysicalDataName

public java.lang.String getPhysicalDataName()
Returns the name of the PhysicalDataSet from which statistics are to be computed.

Returns:
String

setLogicalDataName

public void setLogicalDataName(java.lang.String logicalDataName)
                        throws JDMException
Sets the name of the LogicalData to be used as a reference for more detailed attribute information that can direct statistics computation.

Parameters:
logicalDataName -
Returns:
void
Throws:
JDMException

setPhysicalDataName

public void setPhysicalDataName(java.lang.String name)
                         throws JDMException
Sets the name of the PhysicalDataSet from which statistics are computed.

Parameters:
name -
Returns:
void
Throws:
JDMException

verify

public VerificationReport verify()
Determines whether the specification of the compute statistics task is correct. This includes a check if the physical data name is valid, and the logical data name is valid, if present.

Returns:
VerificationReport