Skip to content

doctest SpectralCoclustering fails on Ubuntu arm64 #13762

@xnox

Description

@xnox
=================================== FAILURES ===================================
___________ [doctest] sklearn.cluster.bicluster.SpectralCoclustering ___________
258         The bicluster label of each column.
259 
260     Examples
261     --------
262     >>> from sklearn.cluster import SpectralCoclustering
263     >>> import numpy as np
264     >>> X = np.array([[1, 1], [2, 1], [1, 0],
265     ...               [4, 7], [3, 5], [3, 6]])
266     >>> clustering = SpectralCoclustering(n_clusters=2, random_state=0).fit(X)
267     >>> clustering.row_labels_
Expected:
    array([0, 1, 1, 0, 0, 0], dtype=int32)
Got:
    array([0, 0, 1, 0, 0, 0], dtype=int32)

/usr/lib/python3/dist-packages/sklearn/cluster/bicluster.py:267: DocTestFailure

This is 0.20.3 and fails on Ubuntu arm64.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions