8000 Update sklearn/model_selection/_search.py · scikit-learn/scikit-learn@a2ae9b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit a2ae9b2

Browse files
Update sklearn/model_selection/_search.py
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
1 parent b8330d0 commit a2ae9b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/model_selection/_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def __init__(self, param_grid):
110110
for key, value in grid.items():
111111
if isinstance(value, np.ndarray) and value.ndim > 1:
112112
raise ValueError(
113-
f"Parameter array for {key} should be one-dimensional, got:"
113+
f"Parameter array for {key!r} should be one-dimensional, got:"
114114
f" {value!r} with shape {value.shape}"
115115
)
116116
if isinstance(value, str) or not isinstance(

0 commit comments

Comments
 (0)
0