@KFStep(name="ModelPerformanceChart", category="Visualization", toolTipText="Visualize performance charts (such as ROC).", iconPath="weka/gui/knowledgeflow/icons/ModelPerformanceChart.gif") public class ModelPerformanceChart extends BaseStep implements DataCollector
| Constructor and Description |
|---|
ModelPerformanceChart() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearPlotData()
Clear all plot data (both onscreen and offscreen)
|
String |
getCustomEditorForStep()
Return the fully qualified name of a custom editor component (JComponent)
to use for editing the properties of the step.
|
List<String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept.
|
Map<String,String> |
getInteractiveViewers()
When running in a graphical execution environment a step can make one or
more popup Viewer components available.
|
String |
getOffscreenAdditionalOpts()
Get the additional options for the offscreen renderer
|
String |
getOffscreenHeight()
Get the height (in pixels) of the offscreen image to generate
|
String |
getOffscreenRendererName()
Get the name of the renderer to use for offscreen chart rendering
operations
|
String |
getOffscreenWidth()
Get the width (in pixels) of the offscreen image to generate.
|
String |
getOffscreenXAxis()
Get the name of the attribute for the x-axis in offscreen plots
|
String |
getOffscreenYAxis()
Get the name of the attribute for the y-axix of offscreen plots.
|
List<String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
List<PlotData2D> |
getPlots()
Get the plots currently stored in this step
|
boolean |
isDataIsThresholdData()
Returns true if the plots being stored are threshold plots
|
void |
processIncoming(Data data)
Process incoming data
|
void |
restoreData(Object data)
Restore the data (plots) for this step
|
Object |
retrieveData()
Retrieve the data (plots) stored in this step
|
void |
setOffscreenAdditionalOpts(String additional)
Set the additional options for the offscreen renderer
|
void |
setOffscreenHeight(String height)
Set the height (in pixels) of the offscreen image to generate
|
void |
setOffscreenRendererName(String rendererName)
Set the name of the renderer to use for offscreen chart rendering
operations
|
void |
setOffscreenWidth(String width)
Set the width (in pixels) of the offscreen image to generate.
|
void |
setOffscreenXAxis(String xAxis)
Set the name of the attribute for the x-axis in offscreen plots.
|
void |
setOffscreenYAxis(String yAxis)
Set the name of the attribute for the y-axis in offscreen plots.
|
void |
stepInit()
Initialize the step
|
environmentSubstitute, getDefaultSettings, getInteractiveViewersImpls, getName, getStepManager, globalInfo, isResourceIntensive, isStopRequested, outputStructureForConnectionType, setName, setStepIsResourceIntensive, setStepManager, start, stop@OptionMetadata(displayName="X-axis attribute", description="Attribute name or /first, /last or /<index>", displayOrder=1) public void setOffscreenXAxis(String xAxis)
xAxis - the name of the xAxispublic String getOffscreenXAxis()
@OptionMetadata(displayName="Y-axis attribute", description="Attribute name or /first, /last or /<index>", displayOrder=2) public void setOffscreenYAxis(String yAxis)
yAxis - the name of the xAxispublic String getOffscreenYAxis()
@OptionMetadata(displayName="Chart width (pixels)", description="Width of the rendered chart", displayOrder=3) public void setOffscreenWidth(String width)
width - the width in pixels.public String getOffscreenWidth()
@OptionMetadata(displayName="Chart height (pixels)", description="Height of the rendered chart", displayOrder=4) public void setOffscreenHeight(String height)
height - the height in pixelspublic String getOffscreenHeight()
@ProgrammaticProperty public void setOffscreenRendererName(String rendererName)
rendererName - the name of the renderer to usepublic String getOffscreenRendererName()
@ProgrammaticProperty public void setOffscreenAdditionalOpts(String additional)
additional - additional optionspublic String getOffscreenAdditionalOpts()
public List<String> getIncomingConnectionTypes()
getIncomingConnectionTypes in interface BaseStepExtendergetIncomingConnectionTypes in interface Steppublic List<String> getOutgoingConnectionTypes()
getOutgoingConnectionTypes in interface BaseStepExtendergetOutgoingConnectionTypes in interface Steppublic void processIncoming(Data data) throws WekaException
processIncoming in interface BaseStepExtenderprocessIncoming in interface StepprocessIncoming in class BaseStepdata - the data to processWekaException - if a problem occurspublic Map<String,String> getInteractiveViewers()
getInteractiveViewers in interface StepgetInteractiveViewers in class BaseSteppublic List<PlotData2D> getPlots()
public boolean isDataIsThresholdData()
public void clearPlotData()
public Object retrieveData()
retrieveData in interface DataCollectorpublic void restoreData(Object data) throws WekaException
restoreData in interface DataCollectordata - the data to setWekaException - if a problem occurspublic void stepInit()
throws WekaException
stepInit in interface BaseStepExtenderstepInit in interface StepWekaException - if a problem occurs during initializationpublic String getCustomEditorForStep()
getCustomEditorForStep in interface StepgetCustomEditorForStep in class BaseStepCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.