oracle.dmt.odm.settings.function
Class DataUsageEntry
java.lang.Object
|
+--oracle.dmt.odm.MiningObject
|
+--oracle.dmt.odm.settings.function.DataUsageEntry
- All Implemented Interfaces:
- java.io.Serializable
- public class DataUsageEntry
- extends MiningObject
An instance of DataUsageEntry
specifies how to use
a particular mining attribute in the LogicalDataSpecification
of a given MiningFunctionSettings
- Since:
- ODM 9.0.1
- See Also:
LogicalDataSpecification
, Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataUsageEntry
public DataUsageEntry(MiningAttribute attribute,
AttributeUsage usage)
throws InvalidArgumentException
- Creates a
DataUsageEntry
for the mining attribute
with the specified usage type. Preparation status is set to unprepared.
- Parameters:
attribute
- - MiningAttribute
instance(required).usage
- - AttributeUsage
enum to specify
the usage type of the mining attribute (required).- Throws:
oracle.dmt.odm.InvalidArfumentException
- is thrown
- when attribute
or usage
is null
DataUsageEntry
public DataUsageEntry(MiningAttribute attribute,
AttributeUsage usage,
DataPreparationStatus preparationStatus)
throws InvalidArgumentException
- Creates a
DataUsageEntry
for the mining attribute
with the specified usage type and preparation status.
- Parameters:
attribute
- MiningAttribute
instance (required).usage
- AttributeUsage
enum specifing the
usage type of the mining attribute (required).preparationStatus
- DataPreperationSatus
specifying the status of the data for building the model.- Throws:
oracle.dmt.odm.InvalidArfumentException
- is thrown
- when attribute
or usage
or preparationStatus
is null
getUsage
public AttributeUsage getUsage()
- Returns the
AttributeUsage
enum value used for the
mining attribute.
- Returns:
- AttributeUsage
setUsage
public void setUsage(AttributeUsage aus)
- Sets the
AttributeUsage
enum value for the
mining attribute.
- Parameters:
aus
- AttributeUsage
enumeration
setPreparationStatus
public void setPreparationStatus(DataPreparationStatus prepStatus)
- Sets the
DataPreparationStatus
enum value for the
mining attribute.
- Parameters:
DataPreparationStatus
-
getAttribute
public MiningAttribute getAttribute()
- Returns the mining attribute instance associated with this
DataUsageEntry
.
- Returns:
- MiningAttribute
getDataPreparationStatus
public DataPreparationStatus getDataPreparationStatus()
- Returns the
DataPreparationStatus
enum value of the DataUsageEntry
.
- Returns:
- DataPreparationStatus
getMiningAttributeName
public java.lang.String getMiningAttributeName()
- Returns the name of the mining attribute.
- Returns:
- String name