8000 MNT Fix bug in formatting of error message in random_projection.py (#… · amueller/scikit-learn@c34c562 · GitHub
[go: up one dir, main page]

Skip to content

Commit c34c562

Browse files
dbeach24qinhanmin2014
authored andcommitted
MNT Fix bug in formatting of error message in random_projection.py (scikit-learn#11718)
1 parent f4ce3e8 commit c34c562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/random_projection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def _check_input_size(n_components, n_features):
150150
n_components)
151151
if n_features <= 0:
152152
raise ValueError("n_features must be strictly positive, got %d" %
153-
n_components)
153+
n_features)
154154

155155

156156
def gaussian_random_matrix(n_components, n_features, random_state=None):

0 commit comments

Comments
 (0)
0