|
Oracle Data Mining Java API Reference 10g Release 1 (10.1) B12276-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dmt.odm.Enum | +--oracle.dmt.odm.AttributeType
The enumeration class AttributeType
is used to specify whether a mining attribute is categorical or numerical.
The semantics of the value are as follows:
MiningAttribute
as categorical.MiningAttribute
as numerical, eg. containing values that are continuous or discrete numbers.MiningAttribute
, such as keys, that are neither categorical or numerical.MiningAttribute
, as an Oracle Text type.Field Summary | |
static AttributeType |
categorical Identifies a MiningAttribute as categorical. |
static AttributeType |
notApplicable Identifies a MiningAttribute , such as keys, that are neither categorical or numerical. |
static AttributeType |
numerical Identifies a MiningAttribute as numerical, eg. containing values that are continuous or discrete numbers |
static AttributeType |
text Identifies a MiningAttribute , as an Oracle Text type. |
Method Summary | |
static AttributeType |
getInstance(int id) Returns AttributeType enumeration object corresponding to the specified ID. |
static AttributeType |
getInstance(java.lang.String name) Returns AttributeType enumeration object corresponding to the specified name. |
static AttributeType[] |
list() Returns the list of all AttributeType enumerations defined. |
static java.lang.String[] |
listNames() Returns the list of names of all AttributeType enumerations defined. |
Methods inherited from class oracle.dmt.odm.Enum |
getEnum, getID, isEqual |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final AttributeType categorical
MiningAttribute
as categorical.public static final AttributeType numerical
MiningAttribute
as numerical, eg. containing values that are continuous or discrete numberspublic static final AttributeType notApplicable
MiningAttribute
, such as keys, that are neither categorical or numerical.public static final AttributeType text
MiningAttribute
, as an Oracle Text type.
Method Detail |
public static java.lang.String[] listNames()
AttributeType
enumerations defined.AttributeType
enumerationpublic static AttributeType[] list()
AttributeType
enumerations defined.AttributeType
enumerationpublic static AttributeType getInstance(java.lang.String name)
AttributeType
enumeration object corresponding to the specified name.name
- attribute type name (categorical, numerical, or notApplicable)AttributeType
enumeration object corresponding to the given name
, null if there is no enumeration for this name.public static AttributeType getInstance(int id)
AttributeType
enumeration object corresponding to the specified ID.id
- (0, 1, 2)AttributeType
enumeration object corresponding to the given id
, null if there is no enumeration for id.
|
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |