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

weird trend for running time when increasing cell number #8

Open
AprilYuge opened this issue Jun 27, 2023 · 3 comments
Open

weird trend for running time when increasing cell number #8

AprilYuge opened this issue Jun 27, 2023 · 3 comments

Comments

@AprilYuge
Copy link

Hi Kai,

I observed a weird trend for the running time when I applied uniPort to datasets that included 1k, 3k, 5k, 10k, 15k, 20k and 50k cells (both RNA and ATAC). The running time first decreased until the sample size reached 15k and then increased. The longest time was observed when there were only 1k cells. Do you have any explanations about this observation?
image

Best,

Yuge

@caokai1073
Copy link
Owner

caokai1073 commented Jun 27, 2023

Hi, thank you for pointing this out. This is because the number of epochs in our training process is determined by the batch size and the number of cells.
Screenshot 2023-06-27 at 12 28 50
If you want to try more epochs, please increase the parameter: iteration (default 30000). The parameter means total mini-batches.
Let me konw if you have other concerns. Thanks!

@AprilYuge
Copy link
Author

Hi, thanks for your timely reply! Just want to confirm that I understand this correctly. If the batch size and the number of iterations are fixed, then the running time should not vary that much, because the total number of cells used for training (iterations * batch size) is constant?

@caokai1073
Copy link
Owner

I'm not entirely sure what happened here, but it might be related to the datasets

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