Skip to content

Commit 83d56f2

Browse files
committed
DOC: DBSCAN: there's no calculate_distance function
1 parent daa1dba commit 83d56f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/cluster/dbscan_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def dbscan(X, eps=0.5, min_samples=5, metric='minkowski',
3737
metric: string, or callable
3838
The metric to use when calculating distance between instances in a
3939
feature array. If metric is a string or callable, it must be one of
40-
the options allowed by metrics.pairwise.calculate_distance for its
40+
the options allowed by metrics.pairwise.pairwise_distances for its
4141
metric parameter.
4242
If metric is "precomputed", X is assumed to be a distance matrix and
4343
must be square.

0 commit comments

Comments
 (0)