New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG+2] Implements ducktyping to allow for alternative Memory implementations #9584

Merged
merged 68 commits into from Aug 30, 2017
Commits
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings

Always

Just for now

Viewing a subset of changes. View all

Pep8 errors removed

  • Loading branch information...
thechargedneutron committed Aug 19, 2017
commit b7f4c99f1206d0c271d8a92a7bd00a02ead6bf02
@@ -158,7 +158,7 @@ def test_agglomerative_clustering_with_cache_attribute():
rng = np.random.RandomState(0)
n_samples = 100
X = rng.randn(n_samples, 50)
clustering = AgglomerativeClustering(memory = Dummy())
clustering = AgglomerativeClustering(memory=Dummy())
clustering.fit(X)
clustering = AgglomerativeClustering(memory=Wrong_Dummy())
ProTip! Use n and p to navigate between commits in a pull request.