Skip to content

[MRG] DOC Updates kernel formulation to be consistent #16099

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

Merged
merged 1 commit into from
Jan 13, 2020

Conversation

thomasjpfan
Copy link
Member

Reference Issues/PRs

Fixes #13659
Closes #15457 (supersedes)

What does this implement/fix? Explain your changes.

The formula in https://scikit-learn.org/stable/modules/density.html#kernel-density-estimation includes the bandwidth parameter:

Screen Shot 2020-01-10 at 3 36 49 PM

The other way to fix this is to update rho to use the same K(x;h) notation:

Untitled

This way the kernel can still use h in its definition.

@glemaitre glemaitre merged commit 19479d7 into scikit-learn:master Jan 13, 2020
@glemaitre
Copy link
Member

Thanks @thomasjpfan

thomasjpfan added a commit to thomasjpfan/scikit-learn that referenced this pull request Feb 22, 2020
panpiort8 pushed a commit to panpiort8/scikit-learn that referenced this pull request Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

documentation typo Kernel density
3 participants