com.rapidminer.example.table
Class BinominalAttribute
java.lang.Object
com.rapidminer.example.table.AbstractAttribute
com.rapidminer.example.table.NominalAttribute
com.rapidminer.example.table.BinominalAttribute
- All Implemented Interfaces:
- Attribute, java.io.Serializable, java.lang.Cloneable
public class BinominalAttribute
- extends NominalAttribute
This class holds all information on a single binary attribute. In addition to
the generic attribute fields this class keeps information about the both
values and the value to index mappings. If one of the methods designed for
numerical attributes was invoked a RuntimeException will be thrown.
- Author:
- Ingo Mierswa
- See Also:
- Serialized Form
|
Method Summary |
java.lang.Object |
clone()
Clones this attribute. |
NominalMapping |
getMapping()
Returns the nominal mapping between nominal values and internal double representations. |
void |
setMapping(NominalMapping newMapping)
Returns the nominal mapping between nominal values and internal double representations. |
| Methods inherited from class com.rapidminer.example.table.AbstractAttribute |
addOwner, addTransformation, clearTransformations, equals, getAllStatistics, getBlockType, getConstruction, getDefault, getLastTransformation, getName, getStatistics, getStatistics, getTableIndex, getValue, getValueType, hashCode, readResolve, registerStatistics, removeOwner, setBlockType, setConstruction, setDefault, setName, setTableIndex, setValue, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
clone
public java.lang.Object clone()
- Clones this attribute.
- Specified by:
clone in interface Attribute- Specified by:
clone in class AbstractAttribute
getMapping
public NominalMapping getMapping()
- Description copied from interface:
Attribute
- Returns the nominal mapping between nominal values and internal double representations.
Please note that invoking this method might result in an exception for non-nominal
attributes.
setMapping
public void setMapping(NominalMapping newMapping)
- Description copied from interface:
Attribute
- Returns the nominal mapping between nominal values and internal double representations.
Please note that invoking this method might result in an exception for non-nominal
attributes.
Copyright © 2001-2009 by Rapid-I