@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, globalInfoenvironmentSubstitute, getCustomEditorForStep, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, isResourceIntensive, isStopRequested, processIncoming, setName, setStepIsResourceIntensive, setStepManager, stoppublic java.lang.Class getWrappedAlgorithmClass()
getWrappedAlgorithmClass in class WekaAlgorithmWrapperpublic void setWrappedAlgorithm(java.lang.Object algo)
setWrappedAlgorithm in class WekaAlgorithmWrapperalgo - the algorithm to wraopublic DataGenerator getDataGenerator()
@ProgrammaticProperty public void setDataGenerator(DataGenerator dataGenerator)
dataGenerator - public void stepInit()
public void start()
throws WekaException
start in interface BaseStepExtenderstart in interface Stepstart in class BaseStepWekaException - if a problem occurspublic Instances outputStructureForConnectionType(java.lang.String connectionName) throws WekaException
outputStructureForConnectionType in interface StepoutputStructureForConnectionType in class BaseStepconnectionName - 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()