pulsatrix 1.1.0
Loading...
Searching...
No Matches
saliency_heatmap_view.hpp
Go to the documentation of this file.
1
5#pragma once
6
9
10namespace pulsatrix {
11
28public:
34 static void Draw(const char* title, const Attribution& attr);
35
38 static void Draw(const char* title, const HeatmapDocument& doc);
39};
40
41} // namespace pulsatrix
First-class explanation result type – values, method, and metadata together.
Draws a 2D saliency heatmap plus a colormap scale bar. Unsigned magnitudes (e.g. Grad-CAM) use Viridi...
Definition saliency_heatmap_view.hpp:27
static void Draw(const char *title, const HeatmapDocument &doc)
Draws a pulsatrix.heatmap.v1 document's grid (its title is not drawn; pass it as title if wanted).
static void Draw(const char *title, const Attribution &attr)
Versioned JSON documents (pulsatrix.<kind>.v1) that every renderer reads.
Definition acquisition_functions.hpp:16
An explanation result: the raw attribution values, the method that produced them, and any relevant me...
Definition attribution.hpp:23
pulsatrix.heatmap.v1: a row-major grid of values with optional axis labels.
Definition document.hpp:79