Skip to content
Permalink
Browse files

FIX score precision in doctest

  • Loading branch information...
jnothman committed Nov 3, 2014
1 parent 2f275de commit 6deaea0e200cc06d5346bef0485d1efb67530eab
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/modules/cross_validation.rst
@@ -187,7 +187,7 @@ These prediction can then be used to evalute the classifier::
>>> predicted = cross_validation.cross_val_predict(clf, iris.data,
... iris.target, cv=10)
>>> metrics.accuracy_score(iris.target, predicted) # doctest: +ELLIPSIS
0.97...
0.966...

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

0 comments on commit 6deaea0

Please sign in to comment.
You can’t perform that action at this time.