Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
simsurace and github-actions[bot] authored Feb 10, 2024
1 parent d4ad9f2 commit a70bf72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/1-mauna-loa/script.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ plotdata()
# We define a couple of helper functions to simplify the kernel construction:

SE(θ) = θ.σ^2 * with_lengthscale(SqExponentialKernel(), θ.ℓ)
Per(θ) = with_lengthscale(PeriodicKernel(; r=./2]), θ.p) # NOTE- discrepancy with GaussianProcesses.jl
Per(θ) = with_lengthscale(PeriodicKernel(; r=. / 2]), θ.p) # NOTE- discrepancy with GaussianProcesses.jl
RQ(θ) = θ.σ^2 * with_lengthscale(RationalQuadraticKernel(; α=θ.α), θ.ℓ)
#md nothing #hide

Expand Down

0 comments on commit a70bf72

Please sign in to comment.