8000 DOC Add dropdowns to module 2.8. Density Estimation by tongyu0924 · Pull Request #26757 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC Add dropdowns to module 2.8. Density Estimation #26757

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 5 commits into from
Sep 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions doc/modules/density.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ forms, which are shown in the following figure:

.. centered:: |kde_kernels|

|details-start|
**kernels' mathematical expressions**
|details-split|

The form of these kernels is as follows:

* Gaussian kernel (``kernel = 'gaussian'``)
Expand All @@ -139,6 +143,8 @@ The form of these kernels is as follows:

:math:`K(x; h) \propto \cos(\frac{\pi x}{2h})` if :math:`x < h`

|details-end|

The kernel density estimator can be used with any of the valid distance
metrics (see :class:`~sklearn.metrics.DistanceMetric` for a list of
available metrics), though the results are properly normalized only
Expand Down
0