Skip to content

Commit f7f1b96

Browse files
committed
"values" has been changed ot the "value" in the ValueError message.
1 parent fa6b88c commit f7f1b96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/grid_search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,11 @@ def _check_param_grid(param_grid):
332332

333333
check = [isinstance(v, k) for k in (list, tuple, np.ndarray)]
334334
if True not in check:
335-
raise ValueError("Parameter({0}) values should be a list."
335+
raise ValueError("Parameter ({0}) value should be a list."
336336
"".format(name))
337337

338338
if len(v) == 0:
339-
raise ValueError("Parameter({0}) values should be a non-empty "
339+
raise ValueError("Parameter ({0}) value should be a non-empty "
340340
"list.".format(name))
341341

342342

0 commit comments

Comments
 (0)