@KFStep(name="Loader", category="DataSources", toolTipText="Weka loader wrapper", iconPath="") public class Loader extends WekaAlgorithmWrapper implements java.io.Serializable
weka.core.converters.Loaders.| Constructor and Description |
|---|
Loader() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCustomEditorForStep()
Return the fully qualified name of a custom editor component (JComponent)
to use for editing the properties of the step.
|
java.util.List<java.lang.String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept.
|
Loader |
getLoader()
Convenience method - calls
getWrappedAlgorithm() |
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
java.lang.Class |
getWrappedAlgorithmClass()
Get the class of the wrapped algorithm
|
Instances |
outputStructureForConnectionType(java.lang.String connectionName,
Environment env)
If possible, get the output structure for the named connection type as a
header-only set of instances.
|
void |
setLoader(Loader loader)
Convenience method - calls
setWrappedAlgorithm() |
void |
setWrappedAlgorithm(java.lang.Object algo)
Set the wrapped algorithm to use
|
void |
start()
Start executing
|
void |
stepInit()
Initialize the step.
|
getDefaultIconPath, getDefaultPackageLevelIconPath, getIconPath, getWrappedAlgorithm, globalInfoenvironmentSubstitute, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, isResourceIntensive, isStopRequested, outputStructureForConnectionType, processIncoming, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, stepMustRunSingleThreaded, stoppublic java.lang.Class getWrappedAlgorithmClass()
getWrappedAlgorithmClass in class WekaAlgorithmWrapperpublic void setWrappedAlgorithm(java.lang.Object algo)
setWrappedAlgorithm in class WekaAlgorithmWrapperalgo - the algorithm to usepublic Loader getLoader()
getWrappedAlgorithm()@ProgrammaticProperty public void setLoader(Loader loader)
setWrappedAlgorithm()loader - the loader to usepublic void stepInit()
throws WekaException
stepInit in interface BaseStepExtenderstepInit in interface StepWekaException - if a problem occurs during initializationpublic void start()
throws WekaException
start in interface BaseStepExtenderstart in interface Stepstart in class BaseStepWekaException - if a problem occurspublic Instances outputStructureForConnectionType(java.lang.String connectionName, Environment env) throws WekaException
outputStructureForConnectionType in interface StepoutputStructureForConnectionType in class BaseStepconnectionName - the name of the connection type to get the output
structure forenv - Environment to useWekaException - if a problem occurspublic java.util.List<java.lang.String> getIncomingConnectionTypes()
getIncomingConnectionTypes in interface BaseStepExtendergetIncomingConnectionTypes in interface Steppublic java.util.List<java.lang.String> getOutgoingConnectionTypes()
getOutgoingConnectionTypes in interface BaseStepExtendergetOutgoingConnectionTypes in interface Steppublic java.lang.String getCustomEditorForStep()
getCustomEditorForStep in interface StepgetCustomEditorForStep in class BaseStep