File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -100,9 +100,7 @@ plotdata()
100100# We define a couple of helper functions to simplify the kernel construction:
101101
102102SE (θ) = θ. σ^ 2 * with_lengthscale (SqExponentialKernel (), θ. ℓ)
103- # # PeriodicKernel is broken, see https://github.com/JuliaGaussianProcesses/KernelFunctions.jl/issues/389
104- # #Per(θ) = with_lengthscale(PeriodicKernel(; r=[θ.ℓ/2]), θ.p) # NOTE- discrepancy with GaussianProcesses.jl
105- Per (θ) = with_lengthscale (SqExponentialKernel (), θ. ℓ) ∘ PeriodicTransform (1 / θ. p)
103+ Per (θ) = with_lengthscale (PeriodicKernel (; r= [θ. ℓ/ 2 ]), θ. p) # NOTE- discrepancy with GaussianProcesses.jl
106104RQ (θ) = θ. σ^ 2 * with_lengthscale (RationalQuadraticKernel (; α= θ. α), θ. ℓ)
107105# md nothing #hide
108106
You can’t perform that action at this time.
0 commit comments