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

add trvae Perturbation prediction notebook #243

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

chelseabright96
Copy link
Collaborator

No description provided.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@chelseabright96 chelseabright96 linked an issue Jun 6, 2024 that may be closed by this pull request
@Koncopd
Copy link
Member

Koncopd commented Jun 6, 2024

Is this ready?

@M0hammadL
Copy link
Member

not ready, @chelseabright96 we need to add this predict function as in https://scgen.readthedocs.io/en/stable/tutorials/scgen_perturbation_prediction.html here, and also showing the accuracy of the prediction like R2 plots

@chelseabright96
Copy link
Collaborator Author

Hi! I have updated the notebook to predict diseased tuft cells from control tuft cells, as was done in the paper. I am getting a lower R2 score for the variance of the expression (0.55 compared to 0.92). The R2 score for the mean is only slightly lower (0.91 vs 0.98). I have played around with the hyperparameters and also used the same as given here https://github.com/theislab/trVAE_reproducibility/blob/master/Jupyter%20Notebooks/Train_Haber.ipynb, but could not get higher scores

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.

Can trVAE in scarches be applied to perturbation prediction?
3 participants