Skip to content

Commit

Permalink
DOC Add links to DBSCAN references. (scikit-learn#24758)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmarmo authored and andportnoy committed Nov 5, 2022
1 parent 534a8b8 commit 7cd9fd9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
9 changes: 5 additions & 4 deletions doc/modules/clustering.rst
Original file line number Diff line number Diff line change
Expand Up @@ -936,13 +936,14 @@ by black points below.

.. topic:: References:

* "A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases
with Noise"
* `"A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases
with Noise" <https://www.aaai.org/Papers/KDD/1996/KDD96-037.pdf>`_
Ester, M., H. P. Kriegel, J. Sander, and X. Xu,
In Proceedings of the 2nd International Conference on Knowledge Discovery
and Data Mining, Portland, OR, AAAI Press, pp. 226–231. 1996

* "DBSCAN revisited, revisited: why and how you should (still) use DBSCAN.
* :doi:`"DBSCAN revisited, revisited: why and how you should (still) use DBSCAN."
<10.1145/3068335>`
Schubert, E., Sander, J., Ester, M., Kriegel, H. P., & Xu, X. (2017).
In ACM Transactions on Database Systems (TODS), 42(3), 19.

Expand Down Expand Up @@ -2110,4 +2111,4 @@ diagonal entries::
.. topic:: References

* :doi:`"Comparing Partitions" <10.1007/BF01908075>`
L. Hubert and P. Arabie, Journal of Classification 1985
L. Hubert and P. Arabie, Journal of Classification 1985
16 changes: 10 additions & 6 deletions sklearn/cluster/_dbscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,15 @@ def dbscan(
References
----------
Ester, M., H. P. Kriegel, J. Sander, and X. Xu, "A Density-Based
Algorithm for Discovering Clusters in Large Spatial Databases with Noise".
Ester, M., H. P. Kriegel, J. Sander, and X. Xu, `"A Density-Based
Algorithm for Discovering Clusters in Large Spatial Databases with Noise"
<https://www.aaai.org/Papers/KDD/1996/KDD96-037.pdf>`_.
In: Proceedings of the 2nd International Conference on Knowledge Discovery
and Data Mining, Portland, OR, AAAI Press, pp. 226-231. 1996
Schubert, E., Sander, J., Ester, M., Kriegel, H. P., & Xu, X. (2017).
DBSCAN revisited, revisited: why and how you should (still) use DBSCAN.
:doi:`"DBSCAN revisited, revisited: why and how you should (still) use DBSCAN."
<10.1145/3068335>`
ACM Transactions on Database Systems (TODS), 42(3), 19.
"""

Expand Down Expand Up @@ -277,13 +279,15 @@ class DBSCAN(ClusterMixin, BaseEstimator):
References
----------
Ester, M., H. P. Kriegel, J. Sander, and X. Xu, "A Density-Based
Algorithm for Discovering Clusters in Large Spatial Databases with Noise".
Ester, M., H. P. Kriegel, J. Sander, and X. Xu, `"A Density-Based
Algorithm for Discovering Clusters in Large Spatial Databases with Noise"
<https://www.aaai.org/Papers/KDD/1996/KDD96-037.pdf>`_.
In: Proceedings of the 2nd International Conference on Knowledge Discovery
and Data Mining, Portland, OR, AAAI Press, pp. 226-231. 1996
Schubert, E., Sander, J., Ester, M., Kriegel, H. P., & Xu, X. (2017).
DBSCAN revisited, revisited: why and how you should (still) use DBSCAN.
:doi:`"DBSCAN revisited, revisited: why and how you should (still) use DBSCAN."
<10.1145/3068335>`
ACM Transactions on Database Systems (TODS), 42(3), 19.
Examples
Expand Down

0 comments on commit 7cd9fd9

Please sign in to comment.