Skip to content
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

rbf and guassian in compute_kern are not the same #195

Closed
j1c opened this issue May 6, 2021 · 1 comment · Fixed by #196
Closed

rbf and guassian in compute_kern are not the same #195

j1c opened this issue May 6, 2021 · 1 comment · Fixed by #196
Labels
bug Something isn't working

Comments

@j1c
Copy link
Member

j1c commented May 6, 2021

The docstring says

Note ``"rbf"`` and ``"gaussian"`` are the same metric.

but this line doesn't check if the input is rbf or gaussian
if metric == "gaussian":

So rbf and gaussian would be a little different since the gamma for rbf will be the sklearn default of 1.0 / n_features. Should that line also check for rbf?

@j1c j1c added the bug Something isn't working label May 6, 2021
@sampan501
Copy link
Member

Yes good catch. I'll fix that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants