|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ApplyTask captures the task of
applying a mining model to data that matches the
model signature.
MiningObject,
Task| Method Summary | |
java.util.Map |
getApplyDataMap()
Returns the attribute map for apply input data. |
java.lang.String |
getApplySettingsName()
Returns the name of the apply settings specification to be used. |
java.lang.String |
getModelName()
Returns the name of the model to apply. |
void |
setApplyDataMap(java.util.Map applyDataMap)
Specifies a mapping between physical attribute names and signature attribute names for input apply data. |
void |
setApplySettingsName(java.lang.String applySettingsName)
Sets the name of the apply settings specification to be used. |
void |
setModelName(java.lang.String modelName)
Sets the name of the model to apply. |
VerificationReport |
verify()
Determines whether the specification of the apply 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 |
public java.util.Map getApplyDataMap()
public java.lang.String getApplySettingsName()
public java.lang.String getModelName()
public void setApplyDataMap(java.util.Map applyDataMap)
throws JDMException
In case of explicit mapping, the user would need to provide a java.util.Map object that contains mapping of physical attribute name to logical attribute name.
Throws an exception if applyDataMap is null.
If the physical data is transactional and no mapping is provided, the data is still mapped as transactional as long as the data contains at least two PhysicalAttribute with caseId and atttributeName roles. Such data can be used for AssociationRules directly without explicit mapping.
applyDataMap - A map that contains the mapping between physical attribute names and signature attribute names for apply data.
JDMException
public void setApplySettingsName(java.lang.String applySettingsName)
throws JDMException
applySettingsName -
JDMException
public void setModelName(java.lang.String modelName)
throws JDMException
modelName - A new model name to be used for apply.
JDMExceptionpublic VerificationReport verify()
VerificationReport object is returned, the mapping is not correctly done.
On execute, if a signature attribute does not have a mapped input, an exception is raised if synchronous, or a error status if asynchronous.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||