|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
LogicalData instance is a set of
logical attributes that describe the logical
nature of the data used as input for model
building. The mining attributes each have unique
names within a LogicalData instance.
MiningObject| Method Summary | |
void |
addAttribute(LogicalAttribute attribute)
Adds the specified LogicalAttribute instance to the logical data. |
LogicalAttribute |
getAttribute(java.lang.String name)
Returns the named logical attribute present in the logical data. |
java.util.Collection |
getAttributes()
Returns a collection of logical attributes present in the logical data. |
java.util.Collection |
getAttributes(AttributeType type)
Returns a collection of logical attributes of the specified attribute type present in the logical data. |
void |
removeAllAttributes()
Removes all logical attributes from the LogicalData instance. |
void |
removeAttribute(java.lang.String attributeName)
Removes the specified LogicalAttribute instance from the logical data. |
| Methods inherited from interface javax.datamining.MiningObject |
getCreationDate, getCreatorInfo, getDescription, getName, getObjectIdentifier, getObjectType, setDescription |
| Method Detail |
public void addAttribute(LogicalAttribute attribute)
throws JDMException
LogicalAttribute instance to the logical data. If the name of the attribute is not unique within the set already present in the logical data, an exception is thrown.
attribute - A logical attribute to be added.
JDMException
public LogicalAttribute getAttribute(java.lang.String name)
throws JDMException
name - The name of the logical attribute to be returned.
JDMExceptionpublic java.util.Collection getAttributes()
public java.util.Collection getAttributes(AttributeType type)
throws JDMException
type - The type of the logical attributes to be returned.
JDMExceptionpublic void removeAllAttributes()
public void removeAttribute(java.lang.String attributeName)
throws JDMException
LogicalAttribute instance from the logical data. If the name of the attribute is not found within the set present in the logical data, an exception is thrown.
attributeName - The name of the logical attribute to be removed.
JDMException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||