Skip to content
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

Update scikit-learn to v0.24 #10

Merged
merged 3 commits into from
Jan 26, 2021
Merged

Update scikit-learn to v0.24 #10

merged 3 commits into from
Jan 26, 2021

Conversation

prete
Copy link
Contributor

@prete prete commented Jan 26, 2021

Main change: Updated scikit-learn dependency to v0.24.

In v0.24 sklearn.cluster.k_means_ was deprecated so it's been changed to sklearn.cluster._kmeans in kmeanspp.py. The idea behind that is that it would be useful for this package not to have an old dependency on scikit-learn<=0.22.

Additional minor fixes:

  • fixed method name in reduce_dimensionality error message
  • removed old scanpy.api interface in favor of just scanpy
  • bumped geosketch version to 1.2

Disclaimer: didn't find any test to run on the package, so you may want to double check the new ouptus.

Change deprecated sklearn.cluster.k_means_ in favor of sklearn.cluster._kmeans

Updated geosketch version to 1.2
@brianhie
Copy link
Owner

Thanks so much for the PR @prete! I cloned your version and ran it, and it does look good to me. Thanks especially for the changes to the non-geosketch portions of the repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants