oracle.dmt.odm.model
Class AttributeImportanceEntry
java.lang.Object
|
+--oracle.dmt.odm.model.AttributeImportanceEntry
- public class AttributeImportanceEntry
- extends java.lang.Object
An instance of AttributeImortanceEntry
class represents an attribute
with its importance found by running an attribute importance algorithm.
Each attribute importance entry consists of
- Attribute name - The name of the attribute (String)
- Importance value - The importance of the attribute (float). Higher value
imples higher importance.
- Rank - The rank of the attribute in importance (int). The most important
attribute is ranked 1.
AttributeImportanceEntry(java.lang.String name,
float importance,
int rank)
Internal use only.
Creates an instance of AttributeImportanceEntry , given the
attribute name, importance value, and rank. |
Type | Method |
java.lang.String |
getAttributeName()
Returns the name of the attribute. |
float |
getImportanceValue()
Returns the importance value of the attribute. |
int |
getRank()
Returns the rank of the attribute. |
java.lang.String |
toString()
Returns a formatted string representation of the entry. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AttributeImportanceEntry
public AttributeImportanceEntry(java.lang.String name,
float importance,
int rank)
- Internal use only.
Creates an instance of AttributeImportanceEntry
, given the
attribute name, importance value, and rank.
- Parameters:
name
- The name of the attributeimportance
- The predictor variance value of the attributerank
- The rank of the attribute when attributes are ordered
in descending order of importance
getAttributeName
public java.lang.String getAttributeName()
- Returns the name of the attribute.
- Returns:
- String - The name of the attribute
getImportanceValue
public float getImportanceValue()
- Returns the importance value of the attribute.
- Returns:
- float - The importance value of the attribute
getRank
public int getRank()
- Returns the rank of the attribute.
- Returns:
- int - The rank of the attribute
toString
public java.lang.String toString()
- Returns a formatted string representation of the entry.
- Overrides:
toString
in class java.lang.Object
- Returns:
- String - The formatted string representation of the entry.