@KFStep(name="ClassifierPerformanceEvaluator", category="Evaluation", toolTipText="Evaluates batch classifiers", iconPath="weka/gui/knowledgeflow/icons/ClassifierPerformanceEvaluator.gif") public class ClassifierPerformanceEvaluator extends BaseStep
| Constructor and Description |
|---|
ClassifierPerformanceEvaluator()
Constructor
|
| 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.
|
boolean |
getErrorPlotPointSizeProportionalToMargin()
Get whether the size of plot data points will be proportional to the
prediction margin
|
java.lang.String |
getEvaluationMetricsToOutput()
Get the evaluation metrics to output (as a comma-separated list).
|
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.
|
void |
processIncoming(Data data)
Process an incoming data payload (if the step accepts incoming connections)
|
void |
setErrorPlotPointSizeProportionalToMargin(boolean e)
Set whether the size of plot data points will be proportional to the
prediction margin
|
void |
setEvaluationMetricsToOutput(java.lang.String m)
Set the evaluation metrics to output (as a comma-separated list).
|
void |
stepInit()
Initialize the step.
|
void |
stop()
Request that processing be stopped.
|
environmentSubstitute, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, globalInfo, isResourceIntensive, isStopRequested, outputStructureForConnectionType, setName, setStepIsResourceIntensive, setStepManager, startpublic ClassifierPerformanceEvaluator()
@OptionMetadata(displayName="Error plot point size proportional to margin", description="Set the point size proportional to the prediction margin for classification error plots") public boolean getErrorPlotPointSizeProportionalToMargin()
public void setErrorPlotPointSizeProportionalToMargin(boolean e)
e - true if plot data points will be rendered proportional to the size
of the prediction margin@ProgrammaticProperty public java.lang.String getEvaluationMetricsToOutput()
public void setEvaluationMetricsToOutput(java.lang.String m)
m - the evaluation metrics to outputpublic java.util.List<java.lang.String> getIncomingConnectionTypes()
public java.util.List<java.lang.String> getOutgoingConnectionTypes()
public void stepInit()
throws WekaException
StepWekaException - if a problem occurs during initializationpublic void stop()
BaseStepisStopRequested() periodically to see if they should stop
processing.public void processIncoming(Data data) throws WekaException
processIncoming in interface BaseStepExtenderprocessIncoming in interface StepprocessIncoming in class BaseStepdata - the payload to processWekaException - if a problem occurspublic java.lang.String getCustomEditorForStep()
getCustomEditorForStep in interface StepgetCustomEditorForStep in class BaseStep