@KFStep(name="TrainTestSplitMaker", category="Evaluation", toolTipText="Create a random train/test split", iconPath="weka/gui/knowledgeflow/icons/TrainTestSplitMaker.gif") public class TrainTestSplitMaker extends BaseStep
| Constructor and Description |
|---|
TrainTestSplitMaker() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept.
|
List<String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
String |
getSeed() |
String |
getTrainPercent() |
String |
globalInfo()
Attempt to get default "about" information for this step by grabbing the
toolTip from the KFStep annotation.
|
Instances |
outputStructureForConnectionType(String connectionName)
If possible, get the output structure for the named connection type as a
header-only set of instances.
|
void |
processIncoming(Data data)
Process an incoming data payload (if the step accepts incoming connections)
|
String |
seedTipText()
Tip text for this property
|
void |
setSeed(String seed) |
void |
setTrainPercent(String percent) |
void |
stepInit()
Initialize the step.
|
String |
trainPercentTipText()
Tip text info for this property
|
environmentSubstitute, getCustomEditorForStep, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, isResourceIntensive, isStopRequested, setName, setStepIsResourceIntensive, setStepManager, start, stoppublic String globalInfo()
BaseStepglobalInfo in class BaseSteppublic String trainPercentTipText()
String valuepublic void setTrainPercent(String percent)
public String getTrainPercent()
public String seedTipText()
String valuepublic void setSeed(String seed)
public String getSeed()
public void stepInit()
throws WekaException
StepWekaException - if a problem occurs during initializationpublic void processIncoming(Data data) throws WekaException
BaseStepprocessIncoming in interface BaseStepExtenderprocessIncoming in interface StepprocessIncoming in class BaseStepdata - the payload to processWekaException - if a problem occurspublic List<String> getIncomingConnectionTypes()
Steppublic List<String> getOutgoingConnectionTypes()
Steppublic Instances outputStructureForConnectionType(String connectionName) throws WekaException
BaseStepoutputStructureForConnectionType in interface StepoutputStructureForConnectionType in class BaseStepconnectionName - the name of the connection type to get the output
structure forWekaException - if a problem occursCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.