-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add more kernels #244
Add more kernels #244
Conversation
d3b4423
to
64ac7f9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer some more tests (and there is the open question regarding the CosineKernel
, other than those this looks gucci.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Scienfitz, thanks for the PR. Quite a few issues, but all of them small ones that can be fixed in a breeze
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two more things ...
64ac7f9
to
bf56ba8
Compare
bf56ba8
to
883b352
Compare
883b352
to
f028f5c
Compare
f028f5c
to
c7435d5
Compare
f028f5c
to
bc1bdd5
Compare
This PR is adding more kernel choices. There are some notable points to consider below:
Bugfix arithmetic Kernels
These used to apply operators like
mul(*a_list)
but since the operators are defined as 2-input only this failed for a 3-composite kernel test I added. It was fixed via rephrasing it toreduce(mul, a_list)
Removed Prior Iteration Tests
These have become obsolete as the kernels are tested with many priors. I've also reduced the prior used with the scale kernel in iteration tests to one choice, otherwise the list of kernels just got too large.
RQKernel alpha
Even though this kernel has an attribute called
alpha
(also visible in the equation here) it does not seem to accept priors for it. Hence, I have ignoredalpha
, both regarding prior and initial value in our corresponding kernelCosineKernel
I was not able to find prior settings that work with this kernel in the iteration tests. The error I get seem purely computational (a la could not fit any reasonable model etc). I have thus not included it in this PR