Class BubbleVisualization.Instance

    • Field Detail

      • result

        protected OutlierResult result
        The outlier result to visualize
    • Constructor Detail

      • Instance

        public Instance​(VisualizerContext context,
                        VisualizationTask task,
                        VisualizationPlot plot,
                        double width,
                        double height,
                        Projection proj)
        Constructor.
        Parameters:
        context - Visualizer context
        task - Visualization task
        plot - Plot to draw to
        width - Embedding width
        height - Embedding height
        proj - Projection
    • Method Detail

      • setupCSS

        private void setupCSS​(SVGPlot svgp,
                              ClassStylingPolicy policy)
        Registers the Bubble-CSS-Class at a SVGPlot.
        Parameters:
        svgp - the SVGPlot to register the Tooltip-CSS-Class.
        policy - Clustering to use
      • getScaledForId

        protected double getScaledForId​(DBIDRef id)
        Convenience method to apply scalings in the right order.
        Parameters:
        id - object ID to get scaled score for
        Returns:
        a Double representing a outlierness-score, after it has modified by the given scales.