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

scPoli Model for Unsupervised Use #224

Open
ShreyParikh07 opened this issue Jan 30, 2024 · 1 comment
Open

scPoli Model for Unsupervised Use #224

ShreyParikh07 opened this issue Jan 30, 2024 · 1 comment

Comments

@ShreyParikh07
Copy link

Version history

scarches: 0.5.10

Issue

When attempting to initialize the scPoli model for unsupervised learning, the constructor seems to require a label_indices=[] argument to be passed as an empty list, which should be optional in unsupervised scenarios.

@moinfar
Copy link
Contributor

moinfar commented Apr 5, 2024

Hi,
To use scPoli in unsupervised settings, please note that you should:

  1. Set all values in the passed cell_type_keys to a dummy value (e.g. 'Unknown') and pass the unknown_ct_names=['Unknown'] parameter to scPoli.
  2. Additionally, Set labeled_indices=[]

The second requirement may be relaxed in an upcoming merge request.
Please note that scPoli without cell-type information is equivalent to trVAE with batches handled using embedding vectors rather than one-hot encodings.

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

No branches or pull requests

2 participants