Open sdwfrost opened 3 years ago
Hi! Thanks for trying! This a known bug due to KernelFunctions.jl : https://github.com/JuliaGaussianProcesses/KernelFunctions.jl/issues/116
I will try to make a fix once I am back from vacations!
I noticed that there was some activity on KernelFunctions
with periodic_transform
recently, which reminded me to check back to see if there was anything I can do to help fix.
The periodic_transform
is a different thing unfortunately. However now I managed to implement kernel parameters optimization with ForwardDiff
, just set AugmentedGaussianProcesses.setadbackend(:forward_diff)
before running your algorithm. It's kinda of a new thing but it should work! Since ForwardDiff supports mutation it should work with PeriodicKernel
If I change the kernel in Regression - Gaussian.ipynb to a
PeriodicKernel()
, I get the following error: