Skip to content

Navigation Menu

Sign in
Appearance settings

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 6deaea0

Browse filesBrowse files
committed
FIX score precision in doctest
1 parent 2f275de commit 6deaea0
Copy full SHA for 6deaea0

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎doc/modules/cross_validation.rst

Copy file name to clipboardExpand all lines: doc/modules/cross_validation.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ These prediction can then be used to evalute the classifier::
187187
>>> predicted = cross_validation.cross_val_predict(clf, iris.data,
188188
... iris.target, cv=10)
189189
>>> metrics.accuracy_score(iris.target, predicted) # doctest: +ELLIPSIS
190-
0.97...
190+
0.966...
191191

192192
Note that the result of this computation may be slightly different from those
193193
obtained using :func:`cross_val_score` as the elements are grouped in different

0 commit comments

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