|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAttribute
public class Attribute
A class describing an attribute in a machine learning problem: in particular, the name of the attribute and the values it can take
Constructor Summary | |
---|---|
Attribute(java.lang.String name,
java.lang.String[] values)
Construct a new Attribute with the given name and values. |
Method Summary | |
---|---|
java.lang.String |
getName()
Get the name of the attribute. |
java.lang.String[] |
getValues()
Get an array listing the values this attribute can take. |
void |
print()
print a description of the attribute |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Attribute(java.lang.String name, java.lang.String[] values)
name
- the name of the attributevalues
- the values this attribute can takeMethod Detail |
---|
public void print()
public java.lang.String getName()
public java.lang.String[] getValues()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |