@KFStep(name="IncrementalClassifierEvaluator", category="Evaluation", toolTipText="Evaluate the performance of incrementally training classifiers", iconPath="weka/gui/knowledgeflow/icons/IncrementalClassifierEvaluator.gif") public class IncrementalClassifierEvaluator extends BaseStep
Constructor and Description |
---|
IncrementalClassifierEvaluator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
chartingEvalWindowSizeTipText()
Return a tip text string for this property
|
int |
getChartingEvalWindowSize()
Get whether to compute evaluation for charting over a fixed sized window of
the most recent instances (rather than the whole stream).
|
java.util.List<java.lang.String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept.
|
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
boolean |
getOutputPerClassInfoRetrievalStats()
Get whether per-class information retrieval stats are to be output.
|
int |
getStatusFrequency()
Get how often progress is reported to the status bar.
|
java.lang.String |
outputPerClassInfoRetrievalStatsTipText()
Return a tip text string for this property
|
void |
processIncoming(Data data)
Process an incoming data payload (if the step accepts incoming connections)
|
void |
setChartingEvalWindowSize(int windowSize)
Set whether to compute evaluation for charting over a fixed sized window of
the most recent instances (rather than the whole stream).
|
void |
setOutputPerClassInfoRetrievalStats(boolean i)
Set whether to output per-class information retrieval statistics (nominal
class only).
|
void |
setStatusFrequency(int s)
Set how often progress is reported to the status bar.
|
java.lang.String |
statusFrequencyTipText()
Return a tip text string for this property
|
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 occurs during initializationpublic 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 payload to processWekaException
- if a problem occurspublic void setStatusFrequency(int s)
s
- report progress every s instancespublic int getStatusFrequency()
public java.lang.String statusFrequencyTipText()
public void setOutputPerClassInfoRetrievalStats(boolean i)
i
- true if info retrieval stats are to be outputpublic boolean getOutputPerClassInfoRetrievalStats()
public java.lang.String outputPerClassInfoRetrievalStatsTipText()
public void setChartingEvalWindowSize(int windowSize)
windowSize
- the size of the window to use for computing the
evaluation metrics used for charting. Setting a value of zero or
less specifies that no windowing is to be used.public int getChartingEvalWindowSize()
public java.lang.String chartingEvalWindowSizeTipText()