Skip to content

Commit 3c86573

Browse files
authored
Replaced instance of affinity with metric (scikit-learn#29608)
1 parent c0e07cf commit 3c86573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/cluster/_agglomerative.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ def _fit(self, X):
999999
----------
10001000
X : ndarray of shape (n_samples, n_features) or (n_samples, n_samples)
10011001
Training instances to cluster, or distances between instances if
1002-
``affinity='precomputed'``.
1002+
``metric='precomputed'``.
10031003
10041004
Returns
10051005
-------

0 commit comments

Comments
 (0)