oracle.dmt.odm
Class AttributeUsage
java.lang.Object
|
+--oracle.dmt.odm.Enum
|
+--oracle.dmt.odm.AttributeUsage
- All Implemented Interfaces:
- java.io.Serializable
- public class AttributeUsage
- extends Enum
The enumeration class AttributeUsage
is used to specify how an attribute is used for a mining operation.
For supervised mining, the values active, predictor, target, inactive and supplemetal are used.
For unsupervised mining, the values active, inactive and supplemental are used.
The semantics of the value are as follows:
-
active or predictor: The attribute is loaded into memory and used for mining operations.
-
target:The attribute is active and used as a target for supervised mining operations.
-
supplemental: The attribute is not used for mining operations,
but is made available, for example, for inert pass-through during apply.
-
inactive: The attribute is not used for any mining operation and should not be made available for other mining operations.
- Since:
- ODM 9.0.1
- See Also:
- Serialized Form
Type | Method |
static AttributeUsage |
getInstance(int id)
Returns AttributeUsage enumeration object corresponding to the
specified ID. |
static AttributeUsage |
getInstance(java.lang.String name)
Returns AttributeUsage enumeration object corresponding to the
specified name. |
static AttributeUsage[] |
list()
Returns list of all AttributeUsage enumerations defined. |
static java.lang.String[] |
listNames()
Returns list the names of all AttributeUsage enumerations defined. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
active
public static final AttributeUsage active
inactive
public static final AttributeUsage inactive
supplementary
public static final AttributeUsage supplementary
target
public static final AttributeUsage target
predictor
public static final AttributeUsage predictor
listNames
public static java.lang.String[] listNames()
- Returns list the names of all
AttributeUsage
enumerations defined.
- Returns:
- String[]
list
public static AttributeUsage[] list()
- Returns list of all
AttributeUsage
enumerations defined.
- Returns:
- AttributeUsage[]
getInstance
public static AttributeUsage getInstance(java.lang.String name)
- Returns
AttributeUsage
enumeration object corresponding to the
specified name.
- Parameters:
name
- - Returns:
- AttributeUsage, returns null if there is no enum for the name.
getInstance
public static AttributeUsage getInstance(int id)
- Returns
AttributeUsage
enumeration object corresponding to the
specified ID.
- Parameters:
id
- - Returns:
- AttributeUsage returns null if there is no enum for the id.