@KFStep(name="Associator", category="Associations", toolTipText="Weka associator wrapper", iconPath="") public class Associator extends WekaAlgorithmWrapper
Constructor and Description |
---|
Associator() |
Modifier and Type | Method and Description |
---|---|
Associator |
getAssociator()
Get the associator to use.
|
java.util.List<java.lang.String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept at this
time
|
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get a list of outgoing connections that this step can produce at this time
|
java.lang.Class |
getWrappedAlgorithmClass()
Get the class of the algorithm being wrapped
|
Instances |
outputStructureForConnectionType(java.lang.String connectionName)
If possible, get the output structure for the named connection type as a
header-only set of instances.
|
void |
processIncoming(Data data)
Processes incoming data
|
void |
setAssociator(Associator associator)
Set the associator to use.
|
void |
setWrappedAlgorithm(java.lang.Object algo)
Set the wrapped algorithm
|
void |
stepInit()
Initializes the step
|
getDefaultIconPath, getDefaultPackageLevelIconPath, getIconPath, getWrappedAlgorithm, globalInfo
environmentSubstitute, getCustomEditorForStep, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, isResourceIntensive, isStopRequested, outputStructureForConnectionType, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, start, stepMustRunSingleThreaded, stop
public java.lang.Class getWrappedAlgorithmClass()
getWrappedAlgorithmClass
in class WekaAlgorithmWrapper
public void setWrappedAlgorithm(java.lang.Object algo)
setWrappedAlgorithm
in class WekaAlgorithmWrapper
algo
- the wrapped algorithm@ProgrammaticProperty public void setAssociator(Associator associator)
associator
- the associator to usepublic Associator getAssociator()
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 connection type to generate output structure forWekaException
- if a problem occurs