Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit acb3833

Browse filesBrowse files
authored
MNT Fix doctest dict value (scikit-learn#31340)
1 parent aa21650 commit acb3833
Copy full SHA for acb3833

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎sklearn/model_selection/_search.py

Copy file name to clipboardExpand all lines: sklearn/model_selection/_search.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1936,7 +1936,7 @@ class RandomizedSearchCV(BaseSearchCV):
19361936
>>> clf = RandomizedSearchCV(logistic, distributions, random_state=0)
19371937
>>> search = clf.fit(iris.data, iris.target)
19381938
>>> search.best_params_
1939-
{'C': np.float64(2.2), 'penalty': 'l1'}
1939+
{'C': np.float64(2.195), 'penalty': 'l1'}
19401940
"""
19411941

19421942
_parameter_constraints: dict = {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.