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 6d0c727 commit c389d7dCopy full SHA for c389d7d
sklearn/cluster/tests/test_hierarchical.py
@@ -23,6 +23,7 @@ def test_structured_ward_tree():
23
"""
24
rnd = np.random.RandomState(0)
25
mask = np.ones([10, 10], dtype=np.bool)
26
+ # Avoding a mask with only 'True' entries
27
mask[4:7, 4:7] = 0
28
X = rnd.randn(50, 100)
29
connectivity = grid_to_graph(*mask.shape)
0 commit comments