@KFStep(name="ClassAssigner", category="Evaluation", toolTipText="Designate which column is to be considered the class column in incoming data.", iconPath="weka/gui/knowledgeflow/icons/ClassAssigner.gif") public class ClassAssigner extends BaseStep
Constructor and Description |
---|
ClassAssigner() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassColumn()
Get the class column to use
|
java.lang.String |
getCustomEditorForStep()
Get the custom editor for this step
|
java.util.List<java.lang.String> |
getIncomingConnectionTypes()
Get the incoming connections that this step can accept at this time
|
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get the outgoing connection types that this step can produce at this time
|
Instances |
outputStructureForConnectionType(java.lang.String connectionName)
Return the structure of data output by this step for a given incoming
connection type
|
void |
processIncoming(Data data)
Process incoming data
|
void |
setClassColumn(java.lang.String col)
Set the class column to use
|
void |
stepInit()
Initialize the step prior to execution
|
environmentSubstitute, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, globalInfo, isResourceIntensive, isStopRequested, outputStructureForConnectionType, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, start, stepMustRunSingleThreaded, stop
public void setClassColumn(java.lang.String col)
col
- the class column to usepublic java.lang.String getClassColumn()
public void stepInit() throws WekaException
WekaException
- if a problem occurspublic void processIncoming(Data data) throws WekaException
processIncoming
in interface BaseStepExtender
processIncoming
in interface Step
processIncoming
in class BaseStep
data
- the data to processWekaException
- if a problem occurspublic java.util.List<java.lang.String> getIncomingConnectionTypes()
public java.util.List<java.lang.String> getOutgoingConnectionTypes()
public Instances outputStructureForConnectionType(java.lang.String connectionName) throws WekaException
outputStructureForConnectionType
in interface Step
outputStructureForConnectionType
in class BaseStep
connectionName
- the incoming connection typeWekaException
- if a problem occurspublic java.lang.String getCustomEditorForStep()
getCustomEditorForStep
in interface Step
getCustomEditorForStep
in class BaseStep