8000 FIX score precision in doctest · scikit-learn/scikit-learn@6deaea0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6deaea0

Browse files
committed
FIX score precision in doctest
1 parent 2f275de commit 6deaea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/modules/cross_validation.rst

Lines 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