diff --git a/doc/modules/clustering.rst b/doc/modules/clustering.rst index 9c68eedef6546..0d958c906bbc6 100644 --- a/doc/modules/clustering.rst +++ b/doc/modules/clustering.rst @@ -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" `_ 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. @@ -2110,4 +2111,4 @@ diagonal entries:: .. topic:: References * :doi:`"Comparing Partitions" <10.1007/BF01908075>` - L. Hubert and P. Arabie, Journal of Classification 1985 \ No newline at end of file + L. Hubert and P. Arabie, Journal of Classification 1985 diff --git a/sklearn/cluster/_dbscan.py b/sklearn/cluster/_dbscan.py index 21a90226ba830..a1cd96263e056 100644 --- a/sklearn/cluster/_dbscan.py +++ b/sklearn/cluster/_dbscan.py @@ -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" + `_. 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. """ @@ -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" + `_. 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