net.sf.jdmf.data.input
Class InputData
java.lang.Object
net.sf.jdmf.data.input.InputData
- Direct Known Subclasses:
- ClusteringInputData
public class InputData
- extends java.lang.Object
The base input data for data mining algorithms.
- Author:
- quorthon
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputData
public InputData()
addAttribute
public void addAttribute(Attribute attribute)
setAttributeAsDecision
public void setAttributeAsDecision(java.lang.String attributeName)
- Takes a particular attribute and marks it as a decision. The attribute
is removed from the set of available attributes and added to the set of
available decisions.
- Parameters:
attributeName
- the name of the attribute being changed
getAttributes
public java.util.List<Attribute> getAttributes()
getDecisions
public java.util.List<Attribute> getDecisions()
getInstanceToBeClassified
public Instance getInstanceToBeClassified()
setInstanceToBeClassified
public void setInstanceToBeClassified(Instance instanceToBeClassified)