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

What is the minimum of sample to train a model on? #74

Open
NicolaasVanRenne opened this issue Aug 9, 2023 · 1 comment
Open

What is the minimum of sample to train a model on? #74

NicolaasVanRenne opened this issue Aug 9, 2023 · 1 comment

Comments

@NicolaasVanRenne
Copy link

Would it make sense to train a model on two samples?

Is there an absolute minimal sample number that is required?

@ludvb
Copy link
Owner

ludvb commented Aug 28, 2023

I'm sorry, I somehow missed your question. I think it depends on for what purpose you are using the model. For example, if you only want to infer super-resolved expression maps, doing that in even a single sample will in many cases give good results in my experience. On the other hand, if you want to predict expression based on H&E images for which you don't have expression data, you will want to make sure that the variation in your training set matches the variation in the test data. So it's very much context dependent, and it's difficult to give a precise number here.

Two samples should be good for super resolution but probably not for predicting expression from histology in unseen samples.

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