KeyError: 'val'
Closed this issue · 5 comments
yanwuanxin commented
yhr91 commented
This probably means there's an error in your split. How many perturbations are there in your dataset and which split did you pick
yanwuanxin commented
yanwuanxin commented
pert_data.prepare_split(split = 'simulation', seed = 1)
I'm not sure how to choose split
parameter either
yhr91 commented
There area few issues here:
Those are too few perturbation categories for the model to perform the default 'simulation' split. I also wouldn't recommend training GEARS on only a single perturbation under any split.
Lastly, the current version of GEARS is not set up to predict effects across multiple cell types as this is not accounted for in the model inputs.
yanwuanxin commented
Thank you very much, i will try to modify the adata according to your suggestions.