SheffieldML / GPy

Gaussian processes framework in python
BSD 3-Clause "New" or "Revised" License
2.01k stars 557 forks source link

Gabor kernel #484

Closed changlan closed 6 years ago

changlan commented 7 years ago

Gabor kernel is not implemented and it would be great to have it. The covariance function is parameterized as: k(x, x') = exp(-||x - x'||^2 / (2*l^2)) cos(2*pi*||x - x'|| / p) in which the hyperparameters are:

mzwiessele commented 7 years ago

We are always happy to see people engage with the framework and look forward to any contribution.

If you would like to implement it, here's the link to how to implement a new kernel: http://pythonhosted.org/GPy/tuto_creating_new_kernels.html

and the contribution guidlines: https://github.com/SheffieldML/GPy#contributing-to-gpy

Thanks for using the framework!

Bonnevie commented 7 years ago

For the record, there is already a cosine kernel so this is just a product of existing kernels.

mzwiessele commented 6 years ago

Is there a reason to implement a new kernel? Or could you just use the product of the RBF and Cosine kernel as the Gabor kernel?