Thanks to visit codestin.com Credit goes to github.com
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 5902a9e commit 1748d0eCopy full SHA for 1748d0e
sklearn/cluster/tests/test_hierarchical.py
@@ -87,6 +87,8 @@ def test_ward_clustering():
87
clustering.fit(X)
88
labels = clustering.labels_
89
assert_true(np.size(np.unique(labels)) == 10)
90
+ # Turn caching off now
91
+ clustering = Ward(n_clusters=10, connectivity=connectivity)
92
# Check that we obtain the same solution with early-stopping of the
93
# tree building
94
clustering.compute_full_tree = False
0 commit comments