@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 |
|---|---|
String |
getClassColumn()
Get the class column to use
|
String |
getCustomEditorForStep()
Get the custom editor for this step
|
List<String> |
getIncomingConnectionTypes()
Get the incoming connections that this step can accept at this time
|
List<String> |
getOutgoingConnectionTypes()
Get the outgoing connection types that this step can produce at this time
|
Instances |
outputStructureForConnectionType(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(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, setName, setStepIsResourceIntensive, setStepManager, start, stoppublic void setClassColumn(String col)
col - the class column to usepublic String getClassColumn()
public void stepInit()
throws WekaException
WekaException - if a problem occurspublic void processIncoming(Data data) throws WekaException
processIncoming in interface BaseStepExtenderprocessIncoming in interface StepprocessIncoming in class BaseStepdata - the data to processWekaException - if a problem occurspublic List<String> getIncomingConnectionTypes()
public List<String> getOutgoingConnectionTypes()
public Instances outputStructureForConnectionType(String connectionName) throws WekaException
outputStructureForConnectionType in interface StepoutputStructureForConnectionType in class BaseStepconnectionName - the incoming connection typeWekaException - if a problem occurspublic String getCustomEditorForStep()
getCustomEditorForStep in interface StepgetCustomEditorForStep in class BaseStepCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.