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 d41b706 commit 1dbc069Copy full SHA for 1dbc069
sklearn/preprocessing/tests/test_data.py
@@ -10,7 +10,6 @@
10
import numpy.linalg as la
11
from scipy import sparse
12
from distutils.version import LooseVersion
13
-from sklearn.externals.six import u
14
15
from sklearn.utils import gen_batches
16
@@ -1390,7 +1389,7 @@ def test_cv_pipeline_precomputed():
1390
1389
# test cross-validation, score should be almost perfect
1391
# NB: this test is pretty vacuous -- it's mainly to test integration
1392
# of Pipeline and KernelCenterer
1393
- y_pred = cross_val_predict(pipeline, K, y_true, cv=4)
+ y_pred = cross_val_predict(pipeline, K, y_true, cv=2)
1394
assert_array_almost_equal(y_true, y_pred)
1395
1396
0 commit comments