public class HitHistogram extends java.lang.Object implements MapDataVisualization
| Modifier and Type | Field and Description |
|---|---|
private DistanceMeasure |
distance
Distance.
|
private boolean |
normalizeCount
Whether to compute relative bin counts.
|
| Constructor and Description |
|---|
HitHistogram(boolean normalizeCount,
DistanceMeasure distance) |
| Modifier and Type | Method and Description |
|---|---|
double[][] |
computeImage(NeuronSquareMesh2D map,
java.lang.Iterable<double[]> data)
Creates an image of the
data metrics when represented by the
map. |
private final DistanceMeasure distance
private final boolean normalizeCount
public HitHistogram(boolean normalizeCount,
DistanceMeasure distance)
normalizeCount - Whether to compute relative bin counts.
If true, the data count in each bin will be divided by the total
number of samples.distance - Distance.public double[][] computeImage(NeuronSquareMesh2D map, java.lang.Iterable<double[]> data)
data metrics when represented by the
map.computeImage in interface MapDataVisualizationmap - Map.data - Data.Copyright (c) 2003-2017 Apache Software Foundation