cascade.data.DynamicPairedDataset
- class cascade.data.DynamicPairedDataset(pri, sec, pri_strat, sec_strat, random_state)[source]
Bases:
DatasetA pair of interventional datasets that are not paired but fetches randomly paired cells on-the-fly
- Parameters:
pri (
SimpleDataset) – Primary interventional datasetsec (
SimpleDataset) – Secondary interventional datasetpri_strat (
ndarray) – Stratification of the primary datasetsec_strat (
ndarray) – Stratification of the secondary datasetrandom_state (
RandomState|int|None) – Random state