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.
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.
Main change: Updated scikit-learn dependency to v0.24.
In v0.24
sklearn.cluster.k_means_
was deprecated so it's been changed tosklearn.cluster._kmeans
inkmeanspp.py
. The idea behind that is that it would be useful for this package not to have an old dependency onscikit-learn<=0.22
.Additional minor fixes:
reduce_dimensionality
error messagescanpy.api
interface in favor of justscanpy
1.2
Disclaimer: didn't find any test to run on the package, so you may want to double check the new ouptus.