-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
DOC Update KernelDensity
docstrings
#15468
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
Conversation
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.
Minor comment otherwise LGTM.
Thanks @sam-dixon ! |
Address missing review comment from #15468
>>> rng = np.random.RandomState(42) | ||
>>> X = rng.random_sample((100, 3)) | ||
>>> kde = KernelDensity(kernel='gaussian', bandwidth=0.5).fit(X) | ||
KernelDensity(...) |
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.
This should have been removed as well, as it make doctest fail. Fixed in 726eac9 on master.
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.
oops, thanks !
Reference Issues/PRs
#15440
What does this implement/fix? Explain your changes.
Brings docstring style in line with numpydoc. Added an example and see also links to
KDTree
andBallTree
Any other comments?