Feature
feature_subsetting
This file contains implementation for model training on feature subsets.
- class scalr.feature.feature_subsetting.FeatureSubsetting(feature_subsetsize: int, chunk_model_config: dict, chunk_model_train_config: dict, train_data: AnnData | AnnCollection, val_data: AnnData | AnnCollection, target: str, mappings: dict, dirpath: str = None, device: str = 'cpu', num_workers: int = 1, sample_chunksize: int = None)[source]
Bases:
object
Class for FeatureSubsetting.
It trains a model for each subsetted datasets, each containing feature_subsetsize genes as features.