Class EMClusterVisualization
- java.lang.Object
-
- elki.visualization.visualizers.scatterplot.cluster.EMClusterVisualization
-
- All Implemented Interfaces:
VisualizationProcessor
,VisFactory
public class EMClusterVisualization extends java.lang.Object implements VisFactory
Visualizer for generating SVG-Elements containing ellipses for first, second and third standard deviation. In more than 2-dimensional data, the class tries to approximate the cluster extends.- Since:
- 0.5.0
- Author:
- Robert Rödler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EMClusterVisualization.Instance
Instance.
-
Constructor Summary
Constructors Constructor Description EMClusterVisualization()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EMClusterVisualization.Instance
makeVisualization(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
Produce a visualization instance for the given taskvoid
processNewResult(VisualizerContext context, java.lang.Object start)
Add visualizers for the given result (tree) to the context.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.visualization.visualizers.VisFactory
allowThumbnails, makeVisualizationOrThumbnail
-
-
-
-
Field Detail
-
LOG
private static final Logging LOG
Class logger.
-
NAME
private static final java.lang.String NAME
A short name characterizing this Visualizer.- See Also:
- Constant Field Values
-
SIGMA
static final double[] SIGMA
Constants for quantiles of standard deviation
-
-
Method Detail
-
makeVisualization
public EMClusterVisualization.Instance makeVisualization(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
Description copied from interface:VisFactory
Produce a visualization instance for the given task- Specified by:
makeVisualization
in interfaceVisFactory
- Parameters:
context
- Visualization contexttask
- Visualization taskplot
- Plotwidth
- Widthheight
- Heightproj
- Projection- Returns:
- Visualization
-
processNewResult
public void processNewResult(VisualizerContext context, java.lang.Object start)
Description copied from interface:VisFactory
Add visualizers for the given result (tree) to the context.- Specified by:
processNewResult
in interfaceVisFactory
- Specified by:
processNewResult
in interfaceVisualizationProcessor
- Parameters:
context
- Visualization contextstart
- Result to process
-
-