Package weka.knowledgeflow.steps
Class AttributeSummarizer
- java.lang.Object
-
- weka.knowledgeflow.steps.BaseStep
-
- weka.knowledgeflow.steps.BaseSimpleDataVisualizer
-
- weka.knowledgeflow.steps.AttributeSummarizer
-
- All Implemented Interfaces:
java.io.Serializable,BaseStepExtender,DataCollector,Step
@KFStep(name="AttributeSummarizer", category="Visualization", toolTipText="Visualize datasets in a matrix of histograms", iconPath="weka/gui/knowledgeflow/icons/AttributeSummarizer.gif") public class AttributeSummarizer extends BaseSimpleDataVisualizer
Step that collects data to display in a summary overview of attribute distributions- Version:
- $Revision: $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttributeSummarizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCustomEditorForStep()Get the fully qualified class name of the custom editor for this stepjava.util.Map<java.lang.String,java.lang.String>getInteractiveViewers()Get a map of popup viewers that can be used with this stepjava.lang.StringgetOffscreenAdditionalOpts()Get the additional options for the offscreen rendererjava.lang.StringgetOffscreenHeight()Get the height (in pixels) of the offscreen image to generatejava.lang.StringgetOffscreenRendererName()Get the name of the renderer to use for offscreen chart rendering operationsjava.lang.StringgetOffscreenWidth()Get the width (in pixels) of the offscreen image to generate.java.lang.StringgetOffscreenXAxis()Get the name of the attribute for the x-axis in offscreen plotsjava.util.List<java.lang.String>getOutgoingConnectionTypes()Get a list of outgoing connections that this step can produce at this timevoidprocessIncoming(Data data)Process incoming datavoidsetOffscreenAdditionalOpts(java.lang.String additional)Set the additional options for the offscreen renderervoidsetOffscreenHeight(java.lang.String height)Set the height (in pixels) of the offscreen image to generatevoidsetOffscreenRendererName(java.lang.String rendererName)Set the name of the renderer to use for offscreen chart rendering operationsvoidsetOffscreenWidth(java.lang.String width)Set the width (in pixels) of the offscreen image to generate.voidsetOffscreenXAxis(java.lang.String xAxis)Set the name of the attribute for the x-axis in offscreen plots.-
Methods inherited from class weka.knowledgeflow.steps.BaseSimpleDataVisualizer
getDatasets, getIncomingConnectionTypes, restoreData, retrieveData, stepInit
-
Methods inherited from class weka.knowledgeflow.steps.BaseStep
environmentSubstitute, getDefaultSettings, getInteractiveViewersImpls, getName, getStepManager, globalInfo, isResourceIntensive, isStopRequested, outputStructureForConnectionType, outputStructureForConnectionType, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, start, stepMustRunSingleThreaded, stop
-
-
-
-
Method Detail
-
setOffscreenXAxis
@OptionMetadata(displayName="X-axis attribute", description="Attribute name or /first, /last or /<index>", displayOrder=1) public void setOffscreenXAxis(java.lang.String xAxis)
Set the name of the attribute for the x-axis in offscreen plots. This defaults to "False Positive Rate" for threshold curves if not specified.- Parameters:
xAxis- the name of the xAxis
-
getOffscreenXAxis
public java.lang.String getOffscreenXAxis()
Get the name of the attribute for the x-axis in offscreen plots- Returns:
- the name of the xAxis
-
setOffscreenWidth
@OptionMetadata(displayName="Chart width (pixels)", description="Width of the rendered chart", displayOrder=2) public void setOffscreenWidth(java.lang.String width)
Set the width (in pixels) of the offscreen image to generate.- Parameters:
width- the width in pixels.
-
getOffscreenWidth
public java.lang.String getOffscreenWidth()
Get the width (in pixels) of the offscreen image to generate.- Returns:
- the width in pixels.
-
setOffscreenHeight
@OptionMetadata(displayName="Chart height (pixels)", description="Height of the rendered chart", displayOrder=3) public void setOffscreenHeight(java.lang.String height)
Set the height (in pixels) of the offscreen image to generate- Parameters:
height- the height in pixels
-
getOffscreenHeight
public java.lang.String getOffscreenHeight()
Get the height (in pixels) of the offscreen image to generate- Returns:
- the height in pixels
-
setOffscreenRendererName
@ProgrammaticProperty public void setOffscreenRendererName(java.lang.String rendererName)
Set the name of the renderer to use for offscreen chart rendering operations- Parameters:
rendererName- the name of the renderer to use
-
getOffscreenRendererName
public java.lang.String getOffscreenRendererName()
Get the name of the renderer to use for offscreen chart rendering operations- Returns:
- the name of the renderer to use
-
setOffscreenAdditionalOpts
@ProgrammaticProperty public void setOffscreenAdditionalOpts(java.lang.String additional)
Set the additional options for the offscreen renderer- Parameters:
additional- additional options
-
getOffscreenAdditionalOpts
public java.lang.String getOffscreenAdditionalOpts()
Get the additional options for the offscreen renderer- Returns:
- the additional options
-
processIncoming
public void processIncoming(Data data)
Process incoming data- Specified by:
processIncomingin interfaceBaseStepExtender- Specified by:
processIncomingin interfaceStep- Overrides:
processIncomingin classBaseSimpleDataVisualizer- Parameters:
data- the data to process
-
getInteractiveViewers
public java.util.Map<java.lang.String,java.lang.String> getInteractiveViewers()
Get a map of popup viewers that can be used with this step- Specified by:
getInteractiveViewersin interfaceStep- Overrides:
getInteractiveViewersin classBaseStep- Returns:
- a map of popup viewers
-
getOutgoingConnectionTypes
public java.util.List<java.lang.String> getOutgoingConnectionTypes()
Get a list of outgoing connections that this step can produce at this time- Specified by:
getOutgoingConnectionTypesin interfaceBaseStepExtender- Specified by:
getOutgoingConnectionTypesin interfaceStep- Overrides:
getOutgoingConnectionTypesin classBaseSimpleDataVisualizer- Returns:
- a list of outgoing connection types
-
getCustomEditorForStep
public java.lang.String getCustomEditorForStep()
Get the fully qualified class name of the custom editor for this step- Specified by:
getCustomEditorForStepin interfaceStep- Overrides:
getCustomEditorForStepin classBaseStep- Returns:
- the class name of the custom editor for this step
-
-