-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
MDE in preprocess is not perfect #129
Comments
you are right, in new version the argument will be change in def mde(adata,embedding_dim=2,n_neighbors=15, basis='X_mde',n_pcs=None, use_rep=None, knn=True,
transformer=None, metric='euclidean',verbose=False,
key_added=None,random_state=0,repulsive_fraction=0.7,constraint=None):
'''
MDE
'''
......
if constraint is None:
_kwargs = {
"embedding_dim": embedding_dim,
"constraint": pymde.Standardized(),
"repulsive_fraction": repulsive_fraction,
"verbose": verbose,
"device": 'cuda',
"n_neighbors": n_neighbors,
}
else:
_kwargs = {
"embedding_dim": embedding_dim,
"constraint": constraint,
"repulsive_fraction": repulsive_fraction,
"verbose": verbose,
"device": 'cuda',
"n_neighbors": n_neighbors,
} |
Starlitnightly
added a commit
that referenced
this issue
Aug 22, 2024
Thanks for you help! and it still limit device into |
Is there any chance for CPU only? For pyMDE support CPU situations. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the
ov.pp.mde
, the device is limit intocuda
, and the params_kwargs
can not modified and looks like confilt withconstraint
The text was updated successfully, but these errors were encountered: