We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8330d0 commit a2ae9b2Copy full SHA for a2ae9b2
sklearn/model_selection/_search.py
@@ -110,7 +110,7 @@ def __init__(self, param_grid):
110
for key, value in grid.items():
111
if isinstance(value, np.ndarray) and value.ndim > 1:
112
raise ValueError(
113
- f"Parameter array for {key} should be one-dimensional, got:"
+ f"Parameter array for {key!r} should be one-dimensional, got:"
114
f" {value!r} with shape {value.shape}"
115
)
116
if isinstance(value, str) or not isinstance(
0 commit comments