-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Implementing correlation model kernels #3138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for your interest. The best way would to make a pull request that adds test, documentation and the new features. |
I was asking for more specific feedback about where the code should be and what the API should be in terms of inputs and outputs. In other words what's the desired spec? |
We are having serious discussions about this right now. The easiest way forward would be to make a simple function that takes parameters for properly constructing matern kernels, and a few tests to verify the function is correct. If you have the right function, refactoring it to a proper API after a decision is made in #3388 or another upcoming should be easy. That said, I think there will (and should) be some significant changes in the GP module in the very near future. I am pushing hard for dumb kernels, because I think they are more general and useful. An example
This is simple enough to be useful for anything, including other models that may use the same type of processing. The caller should be responsible for providing two identical matrices if they want autocorrelation in my opinion. |
The mattern kernel should be put in the pairwise module. |
As seen here:
http://scikit-learn.org/stable/modules/gaussian_process.html#correlation-models
the Matern kernel is not implemented (as marked by
TODO
). What is the best route for one to take to add this kernel to scikit's library so the GP can use it?Definition of Matern kernel:
http://en.wikipedia.org/wiki/Mat%C3%A9rn_covariance_function
Perhaps a good starting point:
http://gptools.readthedocs.org/en/latest/_modules/gptools/kernel/matern.html
EDIT: To clarify, it is something I'd like to add, and I'm wondering the best way to start such that it would be accepted.
The text was updated successfully, but these errors were encountered: