@KFStep(name="PredictionAppender", category="Evaluation", toolTipText="Append predictions from classifiers or clusterers to incoming data ", iconPath="weka/gui/knowledgeflow/icons/PredictionAppender.gif") public class PredictionAppender extends BaseStep
Constructor and Description |
---|
PredictionAppender() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAppendProbabilities()
Get whether to append probability distributions rather than predicted
classes
|
java.util.List<java.lang.String> |
getIncomingConnectionTypes()
Get the incoming connection types that this step accepts
|
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce at this
time
|
void |
processIncoming(Data data)
Process incoming data
|
void |
setAppendProbabilities(boolean append)
Set whether to append probability distributions rather than predicted
classes
|
void |
stepInit()
Initialize the step
|
environmentSubstitute, getCustomEditorForStep, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, globalInfo, isResourceIntensive, isStopRequested, outputStructureForConnectionType, outputStructureForConnectionType, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, start, stepMustRunSingleThreaded, stop
public void stepInit() throws WekaException
WekaException
- if a problem occurspublic java.util.List<java.lang.String> getIncomingConnectionTypes()
public java.util.List<java.lang.String> getOutgoingConnectionTypes()
public void processIncoming(Data data) throws WekaException
processIncoming
in interface BaseStepExtender
processIncoming
in interface Step
processIncoming
in class BaseStep
data
- the Data object to processWekaException
- if a problem occurspublic void setAppendProbabilities(boolean append)
append
- true to append probability distributions@OptionMetadata(displayName="Append probabilities", description="Append probabilities") public boolean getAppendProbabilities()