Add cauchy kernel cookbook - #4338
Conversation
|
Thanks for this! As said a few times before, let's not have more kernel cookbooks (after this one) as we already have tons of them. Rather, we should have cookbooks for algorithms that haven't been described yet |
| Cauchy Kernel | ||
| ============= | ||
|
|
||
| The cauchy kernel is derived from the Cauchy distribution :cite:`basak2008kernel`. It is a long-tailed kernel defined as |
There was a problem hiding this comment.
Minor: pls start new sentences in a new line
| The cauchy kernel is derived from the Cauchy distribution :cite:`basak2008kernel`. It is a long-tailed kernel defined as | ||
|
|
||
| .. math:: | ||
| K(x,x') = \frac{1}{1+\frac{\| x-x' \|^2}{\sigma}} |
There was a problem hiding this comment.
I would prefer a lowercase k, unless K is used elsewhere
|
|
||
| examples/distance/** | ||
|
|
||
| Kernel |
There was a problem hiding this comment.
oh wait, we didnt have kernels yet? ;)
Ok then this is quite good to have :)
| } | ||
| @inproceedings{basak2008kernel | ||
| author={J. Basak}, | ||
| booktitle={2008 19th International Conference on Pattern Recognition}, |
There was a problem hiding this comment.
is this really the best reference? where do you have it from? can't we use some of the references we already used (like the kernel book by schölkopf?)
There was a problem hiding this comment.
i found several links point to this paper, e.g https://github.com/gmum/pykernels/blob/c8afdc79a15197ad3be2a0db0118f5e948577f49/pykernels/regular.py#L132
and I've checked that paper, the author gave a definition of it in sec.3
There was a problem hiding this comment.
ok cool. When citing it, put [Section 3] in there (if possible)
| booktitle={2008 19th International Conference on Pattern Recognition}, | ||
| title={A least square kernel machine with box constraints}, | ||
| year={2008}, | ||
| pages={1-4}, |
There was a problem hiding this comment.
pls do proper references. These pages here are definitely not correct
There was a problem hiding this comment.
ICPR papers are not re-assigned a page number when they are published. This is based on the reference format provided in https://ieeexplore.ieee.org/document/4761717
There was a problem hiding this comment.
I see, maybe we can remove them then?
|
|
||
| We create an instance of :sgclass:`CCauchyKernel`. | ||
|
|
||
| .. sgexample:: cauchy:create_kernel |
There was a problem hiding this comment.
Could you talk about the fact that a distance is used for this kernel?
|
I restarted windows since it was failing |
| title={A least square kernel machine with box constraints}, | ||
| year={2008}, | ||
| pages={1-4}, | ||
| year={2008} |
There was a problem hiding this comment.
cool thx!
Did you render this locally (the html output) and check that it all works ?
|
Alright, great! thanks! |
No description provided.