Skip to content

Commit 8e3e5a8

Browse files
Cyberfacetheogf
andauthored
add gibbskernel example to prior example script (#375)
* add gibbskernel example to prior example script * examples/gaussian-process-priors/script.jl: gibbs example make the GibbsKernel example more robust with thanks to @devmotion and @theogf * improve code formatting Co-authored-by: Théo Galy-Fajou <[email protected]>
1 parent cc2289c commit 8e3e5a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/gaussian-process-priors/script.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ kernels = [
120120
LinearKernel(),
121121
compose(PeriodicKernel(), ScaleTransform(0.2)),
122122
NeuralNetworkKernel(),
123+
GibbsKernel(; lengthscale=x -> sum(exp sin, x)),
123124
]
124125
plot(
125126
[visualize(k) for k in kernels]...;

0 commit comments

Comments
 (0)