Skip to content

Commit 54751c5

Browse files
authored
FIX wrong >= in error message in _locally_linear_embedding (scikit-learn#29716)
1 parent b790f5b commit 54751c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/manifold/_locally_linear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def _locally_linear_embedding(
224224
)
225225
if n_neighbors >= N:
226226
raise ValueError(
227-
"Expected n_neighbors <= n_samples, but n_samples = %d, n_neighbors = %d"
227+
"Expected n_neighbors < n_samples, but n_samples = %d, n_neighbors = %d"
228228
% (N, n_neighbors)
229229
)
230230

0 commit comments

Comments
 (0)