Class SmoothedDataHistogram
java.lang.Object
org.apache.commons.math3.ml.neuralnet.twod.util.SmoothedDataHistogram
- All Implemented Interfaces:
MapDataVisualization
Visualization of high-dimensional data projection on a 2D-map.
The method is described in
Using Smoothed Data Histograms for Cluster Visualization in Self-Organizing Maps
by Elias Pampalk, Andreas Rauber and Dieter Merkl.
- Since:
- 3.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[][]computeImage(NeuronSquareMesh2D map, Iterable<double[]> data) Creates an image of thedatametrics when represented by themap.
-
Constructor Details
-
SmoothedDataHistogram
- Parameters:
smoothingBins- Number of bins.distance- Distance.
-
-
Method Details
-
computeImage
Creates an image of thedatametrics when represented by themap.- Specified by:
computeImagein interfaceMapDataVisualization- Parameters:
map- Map.data- Data.- Returns:
- a 2D-array (in row major order) representing the metrics.
- Throws:
NumberIsTooSmallException- if the size of themapis smaller than the number ofsmoothing bins.
-