-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
If the split is simulation_single, the DS.split_data should output a 2 object tuple like simulation
Lines 351 to 360 in f374e43
| if split in ['simulation', 'simulation_single']: | |
| # simulation split | |
| DS = DataSplitter(self.adata, split_type=split) | |
| adata, subgroup = DS.split_data(train_gene_set_size = train_gene_set_size, | |
| combo_seen2_train_frac = combo_seen2_train_frac, | |
| seed=seed, | |
| test_perts = test_perts, | |
| only_test_set_perts = only_test_set_perts | |
| ) |
currently only simulation output a 2 object tuple
Lines 193 to 198 in f374e43
| if self.split_type == 'simulation': | |
| return self.adata, {'test_subgroup': test_subgroup, | |
| 'val_subgroup': val_subgroup | |
| } | |
| else: | |
| return self.adata |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels