|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.uottawa.balie.WekaAttribute
public class WekaAttribute
Wrapper around the Weka attributes.
Constructor Summary | |
---|---|
WekaAttribute(java.lang.String pi_Label)
Construct a numeric attribute. |
|
WekaAttribute(java.lang.String pi_Label,
weka.core.FastVector pi_Values)
Construct a nominal attribute. |
Method Summary | |
---|---|
boolean |
IsNumeric()
Checks if the attribute is numeric |
java.lang.String |
Label()
Gets the name of an attribute. |
weka.core.FastVector |
Values()
Gets the possible values for a nominal attribute. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WekaAttribute(java.lang.String pi_Label)
pi_Label
- Name of the attributepublic WekaAttribute(java.lang.String pi_Label, weka.core.FastVector pi_Values)
pi_Label
- Name of the attributepi_Values
- Possible valuesMethod Detail |
---|
public boolean IsNumeric()
public java.lang.String Label()
public weka.core.FastVector Values()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |