|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
BuildTask provides an abstraction of
the metadata needed to build a mining model. Like
all tasks, execution is done via
Connection, which returns the
execution handle.
MiningObject,
Task| Method Summary | |
java.lang.String |
getApplicationName()
Returns the name of the application that uses this task to build a model. |
java.util.Map |
getBuildDataMap()
Returns the attribute map for build input data. |
java.lang.String |
getBuildDataName()
Returns the name of the physical data used as input by the build task. |
java.lang.String |
getBuildSettingsName()
Returns the name of the build settings used as a specification for building a model. |
java.lang.String |
getInputModelName()
Returns the name of the model (if any) that will be used as a seed for incremental model building. |
java.lang.String |
getModelDescription()
Returns the description of the model. |
java.lang.String |
getModelName()
Returns the name of the model to be built by this task. |
java.util.Map |
getValidationDataMap()
Returns the attribute map for validation input data. |
java.lang.String |
getValidationDataName()
Returns the name of the data to be used for validation while building the model. |
void |
setApplicationName(java.lang.String name)
Sets the name of the application that uses this task to build a model. |
void |
setBuildDataMap(java.util.Map buildDataMap)
Specifies a mapping between physical attribute names and logical attribute names for input build data. |
void |
setBuildDataName(java.lang.String name)
Sets the name of the physical data to be used as input by the build task. |
void |
setBuildSettingsName(java.lang.String name)
Sets the name of the build settings to be used as a specification for building a model. |
void |
setInputModelName(java.lang.String modelName)
Specifies the name of a model that may be used as a seed for incremental model building. |
void |
setModelDescription(java.lang.String description)
Sets the description of the model. |
void |
setModelName(java.lang.String name)
Sets the name of the model to be built by the task. |
void |
setValidationDataMap(java.util.Map validationDataMap)
Specifies a mapping between physical attribute names and logical attribute names for input validation data. |
void |
setValidationDataName(java.lang.String validationDataName)
Specifies the name of the data to be used for validation while building the model. |
VerificationReport |
verify()
Determines whether the specification of the build 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.lang.String getApplicationName()
public java.util.Map getBuildDataMap()
public java.lang.String getBuildDataName()
public java.lang.String getBuildSettingsName()
public java.lang.String getInputModelName()
public java.lang.String getModelDescription()
public java.lang.String getModelName()
public java.util.Map getValidationDataMap()
public java.lang.String getValidationDataName()
public void setApplicationName(java.lang.String name)
Model.
name -
public void setBuildDataMap(java.util.Map buildDataMap)
throws JDMException
java.util.Map object that contains mapping of physical attribute name to logical attribute name.
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 PhysicalAttributes with caseId and atttributeName roles. Such data can be used for AssociationRules directly without explicit mapping.
buildDataMap - A map that contains the mapping between physical attribute names and logical attribute names for build data.
JDMException
public void setBuildDataName(java.lang.String name)
throws JDMException
name - The name of the physical data.
JDMException
public void setBuildSettingsName(java.lang.String name)
throws JDMException
name - The name of the function settings.
JDMException
public void setInputModelName(java.lang.String modelName)
throws JDMException
modelName - A new model name to be used when persisting the resulting model.
JDMExceptionpublic void setModelDescription(java.lang.String description)
description -
public void setModelName(java.lang.String name)
throws JDMException
name - The model name to be built.
JDMException
public void setValidationDataMap(java.util.Map validationDataMap)
throws JDMException
validationDataMap - A map that contains the mapping between physical attribute names and logical attribute names for validation data.
JDMException
public void setValidationDataName(java.lang.String validationDataName)
throws JDMException
validationDataName - The name of the validation data.
JDMExceptionpublic VerificationReport verify()
VerificationReport object returned means that the verification is not successful and the object contains an appropriate explanation. This includes a check if all logical attributes (for settings or input model) have been assigned a physical source.
When no mapping has been explicitly specified for a (required) logical attribute, a physical attribute is automatically mapped by name (direct mapping), if possible.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||