@@ -81,11 +81,6 @@ heatmap(expl)
81
81
# into a single function call:
82
82
heatmap (input, analyzer)
83
83
84
- # For a more detailed explanation of the `heatmap` function,
85
- # refer to the [heatmapping section](@ref docs-heatmapping).
86
-
87
- # ## [List of analyzers](@id docs-analyzers-list)
88
-
89
84
# ## Neuron selection
90
85
# By passing an additional index to our call to [`analyze`](@ref),
91
86
# we can compute an explanation with respect to a specific output neuron.
@@ -114,5 +109,19 @@ expl = analyze(batch, analyzer);
114
109
# Calling `heatmap` on `expl` will detect the batch dimension and return a vector of heatmaps.
115
110
heatmap (expl)
116
111
117
- # For more information on heatmapping batches,
118
- # refer to the [heatmapping documentation](@ref docs-heatmapping-batches).
112
+ # # Custom heatmaps
113
+
114
+ # The function `heatmap` automatically applies common presets for each method.
115
+ #
116
+ # Since [`InputTimesGradient`](@ref) computes attributions,
117
+ # heatmaps are shown in a blue-white-red color scheme.
118
+ # Gradient methods however are typically shown in grayscale:
119
+ analyzer = Gradient (model)
120
+ heatmap (input, analyzer)
121
+ # -
122
+ analyzer = InputTimesGradient (model)
123
+ heatmap (input, analyzer)
124
+
125
+ # Using [VisionHeatmaps.jl](https://julia-xai.github.io/XAIDocs/VisionHeatmaps/stable/),
126
+ # heatmaps can be heavily customized.
127
+ # Check out the [heatmapping documentation](https://julia-xai.github.io/XAIDocs/VisionHeatmaps/stable/) for more information.
0 commit comments