Skip to content

Commit 7e0aff4

Browse files
NelleVGaelVaroquaux
authored andcommitted
FIX spelling mistake
1 parent ec08281 commit 7e0aff4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sklearn/cluster/hierarchical.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ class AgglomerativeClustering(BaseEstimator, ClusterMixin):
496496
The number of clusters to find.
497497
498498
connectivity : sparse matrix (optional)
499-
Connectivity matrix. Defines for each sample the neigbhoring
499+
Connectivity matrix. Defines for each sample the neighboring
500500
samples following a given structure of the data.
501501
Default is None, i.e, the hierarchical clustering algorithm is
502502
unstructured.
@@ -650,7 +650,7 @@ class Ward(AgglomerativeClustering):
650650
The number of clusters to find.
651651
652652
connectivity : sparse matrix (optional)
653-
Connectivity matrix. Defines for each sample the neigbhoring
653+
Connectivity matrix. Defines for each sample the neighboring
654654
samples following a given structure of the data.
655655
Default is None, i.e, the hierarchical clustering algorithm is
656656
unstructured.
@@ -720,7 +720,7 @@ class WardAgglomeration(AgglomerationTransform, Ward):
720720
The number of clusters.
721721
722722
connectivity : sparse matrix
723-
connectivity matrix. Defines for each feature the neigbhoring
723+
connectivity matrix. Defines for each feature the neighboring
724724
features following a given structure of the data.
725725
Default is None, i.e, the hierarchical agglomeration algorithm is
726726
unstructured.

0 commit comments

Comments
 (0)