public class TopographicErrorHistogram extends Object implements MapDataVisualization
Constructor and Description |
---|
TopographicErrorHistogram(boolean relativeCount,
DistanceMeasure distance) |
Modifier and Type | Method and Description |
---|---|
double[][] |
computeImage(NeuronSquareMesh2D map,
Iterable<double[]> data)
Creates an image of the
data metrics when represented by the
map . |
public TopographicErrorHistogram(boolean relativeCount, DistanceMeasure distance)
relativeCount
- Whether to compute relative bin counts.
If true
, the data count in each bin will be divided by the total
number of samples mapped to the neuron represented by that bin.distance
- Distance.public double[][] computeImage(NeuronSquareMesh2D map, Iterable<double[]> data)
data
metrics when represented by the
map
.computeImage
in interface MapDataVisualization
map
- Map.data
- Data.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.