-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
Failure of doctest for sklearn.cluster._bicluster.SpectralCoclustering on osx. #15464
Copy link
Copy link
Open
Labels
help wantedmodule:clustermodule:test-suiteeverything related to our testseverything related to our tests
Description
Description
DocTest failure on osx when testing master.
______________________________________________________________________________
___________ [doctest] sklearn.cluster._bicluster.SpectralCoclustering
______________________________________________________________________________
____________
253 The bicluster label of each column.
254
255 Examples
256 --------
257 >>> from sklearn.cluster import SpectralCoclustering
258 >>> import numpy as np
259 >>> X = np.array([[1, 1], [2, 1], [1, 0],
260 ... [4, 7], [3, 5], [3, 6]])
261 >>> clustering = SpectralCoclustering(n_clusters=2, random_state=0).fit(X)
262 >>> clustering.row_labels_
Expected:
array([0, 1, 1, 0, 0, 0], dtype=int32)
Got:
array([0, 0, 1, 0, 0, 0], dtype=int32)Steps/Code to Reproduce
pytest sklearn
Expected Results
Actual Results
Versions
System:
python: 3.7.5 (default, Oct 25 2019, 10:52:18) [Clang 4.0.1 (tags/RELEASE_401/final)]
executable: /anaconda3/envs/sklearndev/bin/python
machine: Darwin-18.7.0-x86_64-i386-64bit
Python deps:
pip: 19.3.1
setuptools: 41.6.0.post20191030
sklearn: 0.22.dev0
numpy: 1.16.2
scipy: 1.3.1
Cython: 0.29.13
pandas: None
matplotlib: 3.1.1
joblib: 0.14.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedmodule:clustermodule:test-suiteeverything related to our testseverything related to our tests