
@Reference(authors="E. Achtert, H.-P. Kriegel, L. Reichert, E. Schubert, R. Wojdanowski, A. Zimek", title="Visual Evaluation of Outlier Detection Models", booktitle="Proceedings of the 15th International Conference on Database Systems for Advanced Applications (DASFAA), Tsukuba, Japan, 2010", url="http://dx.doi.org/10.1007/978-3-642-12098-5_34") public class BubbleVisualization extends AbstractScatterplotVisualization implements DataStoreListener
| Modifier and Type | Class and Description |
|---|---|
static class |
BubbleVisualization.Factory
Factory for producing bubble visualizations
|
| Modifier and Type | Field and Description |
|---|---|
static String |
BUBBLE
Generic tag to indicate the type of element.
|
protected boolean |
fill
Fill parameter.
|
static String |
NAME
A short name characterizing this Visualizer.
|
protected OutlierResult |
result
The outlier result to visualize
|
protected ScalingFunction |
scaling
Scaling function to use for Bubbles
|
proj, rel, samplecontext, layer, pendingRedraw, svgp, task| Constructor and Description |
|---|
BubbleVisualization(VisualizationTask task,
ScalingFunction scaling,
boolean fill)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the visualization.
|
protected double |
getScaledForId(DBIDRef id)
Convenience method to apply scalings in the right order.
|
void |
redraw()
Perform a full redraw.
|
void |
resultChanged(Result current)
Notify that the current result has changed substantially.
|
private void |
setupCSS(SVGPlot svgp,
ClassStylingPolicy policy)
Registers the Bubble-CSS-Class at a SVGPlot.
|
setupCanvascontentChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedrawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontentChangedpublic static final String BUBBLE
public static final String NAME
protected boolean fill
protected ScalingFunction scaling
protected OutlierResult result
public BubbleVisualization(VisualizationTask task, ScalingFunction scaling, boolean fill)
task - Visualization taskscaling - Scaling functionfill - Fill flagpublic void destroy()
Visualizationdestroy in interface Visualizationdestroy in class AbstractVisualizationpublic void redraw()
AbstractVisualizationredraw in class AbstractVisualizationpublic void resultChanged(Result current)
ResultListenerresultChanged in interface ResultListenerresultChanged in class AbstractScatterplotVisualizationcurrent - Result that has changed.private void setupCSS(SVGPlot svgp, ClassStylingPolicy policy)
svgp - the SVGPlot to register the Tooltip-CSS-Class.policy - Clustering to useprotected double getScaledForId(DBIDRef id)
id - object ID to get scaled score for