obnb
obnb copied to clipboard
create term hold-out scenario.
Currently when making an OBNBDataset
object the splitter
allows the user to specify the gene hold out method using different partitions to create training/validation/testing splits. We would like to be able to hold out all labels associated with a term to evaluate zero-shot learning.
For now, we are envisioning the two splitting strategies below:
-
Terms are used to create training, validation and testing splits. The first feature we would like to be able to use is to specify a list of term IDs that should be used for each split.
-
First we would like to specify the list of term IDs for the training and testing splits, then use the existing methods of gene partitioning (
RandomRatioHoldout
orRatioHoldout
) to determine which genes are used for training and validation
Eventually we would also like something similar to the RandomRatioHoldout
to partition terms and ultimately RatioHoldout
based on different term properties (similar to using PubMedCount
to partition genes according to study bias).
My priority would be to get both strategies working with a user specified list of term IDs for each split before moving on to the RandomRatioHoldout
for terms.