public class HitHistogram extends Object implements MapDataVisualization
Constructor and Description |
---|
HitHistogram(boolean normalizeCount,
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 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, 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.