scvi.dataloaders.SemiSupervisedDataLoader.subsample_labels

SemiSupervisedDataLoader.subsample_labels()[source]

Subsamples each label class by taking up to n_samples_per_label samples per class.