@@ -7,7 +7,7 @@ abstract type AbstractHMCSampler{T<:Real} <: AbstractMCMC.AbstractSampler end
7
7
"""
8
8
HMCSampler
9
9
10
- A `AbstractMCMC.AbstractSampler` for kernels in AdvancedHMC.jl.
10
+ An `AbstractMCMC.AbstractSampler` for kernels in AdvancedHMC.jl.
11
11
12
12
# Fields
13
13
@@ -24,7 +24,7 @@ To access the updated fields use the resulting [`HMCState`](@ref).
24
24
struct HMCSampler{T<: Real } <: AbstractHMCSampler{T}
25
25
" [`AbstractMCMCKernel`](@ref)."
26
26
κ:: AbstractMCMCKernel
27
- " [`AbstractMetric`](@ref)."
27
+ " Choice of initial metric [`AbstractMetric`](@ref). The metric type will be preserved during adaption ."
28
28
metric:: AbstractMetric
29
29
" [`AbstractAdaptor`](@ref)."
30
30
adaptor:: AbstractAdaptor
@@ -66,7 +66,7 @@ struct NUTS{T<:Real} <: AbstractHMCSampler{T}
66
66
init_ϵ:: T
67
67
" Choice of integrator, specified either using a `Symbol` or [`AbstractIntegrator`](@ref)"
68
68
integrator:: Union{Symbol,AbstractIntegrator}
69
- " Choice of metric, specified either using a `Symbol` or `AbstractMetric`"
69
+ " Choice of initial metric, specified using a `Symbol` or `AbstractMetric`. The metric type will be preserved during adaption. "
70
70
metric:: Union{Symbol,AbstractMetric}
71
71
end
72
72
@@ -107,7 +107,7 @@ struct HMC{T<:Real} <: AbstractHMCSampler{T}
107
107
n_leapfrog:: Int
108
108
" Choice of integrator, specified either using a `Symbol` or [`AbstractIntegrator`](@ref)"
109
109
integrator:: Union{Symbol,AbstractIntegrator}
110
- " Choice of metric, specified either using a `Symbol` or `AbstractMetric`"
110
+ " Choice of initial metric, specified using a `Symbol` or `AbstractMetric`. The metric type will be preserved during adaption. "
111
111
metric:: Union{Symbol,AbstractMetric}
112
112
end
113
113
@@ -148,7 +148,7 @@ struct HMCDA{T<:Real} <: AbstractHMCSampler{T}
148
148
init_ϵ:: T
149
149
" Choice of integrator, specified either using a `Symbol` or [`AbstractIntegrator`](@ref)"
150
150
integrator:: Union{Symbol,AbstractIntegrator}
151
- " Choice of metric, specified either using a `Symbol` or `AbstractMetric`"
151
+ " Choice of initial metric, specified using a `Symbol` or `AbstractMetric`. The metric type will be preserved during adaption. "
152
152
metric:: Union{Symbol,AbstractMetric}
153
153
end
154
154
0 commit comments