-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
julia> using KernelFunctions: MaternKernel
julia> k = MaternKernel(ν=5)
Matern Kernel (ν = 5, metric = Distances.Euclidean(0.0))
julia> import ForwardDiff as FD
julia> kx(x,y) = FD.derivative(t -> k(x+t, y), 0)
kx (generic function with 1 method)
julia> dk(x,y) = FD.derivative(t -> kx(x, y+t), 0)
dk (generic function with 1 method)
julia> dk(0,0)
0.0
This is wrong, because for a centered GP
And
Metadata
Metadata
Assignees
Labels
No labels