|
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.model.NMFFeature
The feature is an entity that consists of multiple attributes. A set of features expresses a data mining object. Each feature has an identifier which is a consecutive numbering scheme starting at number 1 to uniquely identify the resultant features. Each resultant feature is composed of M entries, where M is the number of attributes in the original data set. Each entry consists of three components: attribute ID, value, and coefficient. The resultant features can be viewed as an aggregate of all the original attributes. The difference among the features is the predominance of each of the attributes in the feature that is represented by the coefficient. If an attribute is highly predominant, its coefficient will be high. The coefficients are non-negative. The value differentiates between numeric and categorical data. The value for numeric data is NULL; for categorical data it is the value from the original data set.
Method Summary | |
java.lang.Float |
getCoefficient(int entryId) Returns the coefficient of the specified feature entry. |
FeatureEntry[] |
getFeatureEntries() Returns an array of feature entries in the feature. |
FeatureEntry |
getFeatureEntry(int entryId) Returns the value of the specified entry. |
int |
getFeatureId() Returns the feature identifier. |
java.lang.String |
getValue(int entryId) Returns the value of the specified entry. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int getFeatureId()
getFeatureId
in interface Feature
public FeatureEntry[] getFeatureEntries()
getFeatureEntries
in interface Feature
public FeatureEntry getFeatureEntry(int entryId) throws InvalidArgumentException
getFeatureEntry
in interface Feature
InvalidArgumentException
public java.lang.String getValue(int entryId) throws InvalidArgumentException
InvalidArgumentException
public java.lang.Float getCoefficient(int entryId) throws InvalidArgumentException
InvalidArgumentException
|
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |