@KFStep(name="DataGenerator", category="DataGenerators", toolTipText="Weka data generator wrapper", iconPath="") public class DataGenerator extends WekaAlgorithmWrapper
Constructor and Description |
---|
DataGenerator() |
Modifier and Type | Method and Description |
---|---|
DataGenerator |
getDataGenerator()
get the data generator
|
java.util.List<java.lang.String> |
getIncomingConnectionTypes()
Get acceptable incoming connection types.
|
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types
|
java.lang.Class |
getWrappedAlgorithmClass()
Get the class of the wrapped algorithm
|
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 |
setDataGenerator(DataGenerator dataGenerator)
Set the data generator
|
void |
setWrappedAlgorithm(java.lang.Object algo)
Set the algorithm to wrap
|
void |
start()
Start the data generation process.
|
void |
stepInit()
Initialize the step.
|
getDefaultIconPath, getDefaultPackageLevelIconPath, getIconPath, getWrappedAlgorithm, globalInfo
environmentSubstitute, getCustomEditorForStep, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, isResourceIntensive, isStopRequested, outputStructureForConnectionType, processIncoming, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, stepMustRunSingleThreaded, stop
public java.lang.Class getWrappedAlgorithmClass()
getWrappedAlgorithmClass
in class WekaAlgorithmWrapper
public void setWrappedAlgorithm(java.lang.Object algo)
setWrappedAlgorithm
in class WekaAlgorithmWrapper
algo
- the algorithm to wraopublic DataGenerator getDataGenerator()
@ProgrammaticProperty public void setDataGenerator(DataGenerator dataGenerator)
dataGenerator
- public void stepInit()
public void start() throws WekaException
start
in interface BaseStepExtender
start
in interface Step
start
in class BaseStep
WekaException
- if a problem occurspublic Instances outputStructureForConnectionType(java.lang.String connectionName) throws WekaException
outputStructureForConnectionType
in interface Step
outputStructureForConnectionType
in class BaseStep
connectionName
- the name of the connection type to get the output
structure forWekaException
- if a problem occurspublic java.util.List<java.lang.String> getIncomingConnectionTypes()
public java.util.List<java.lang.String> getOutgoingConnectionTypes()