def perturbation_d1_ent_overlap(): np.random.seed(99) X = np.random.randint(0, 2, (100, ), dtype=int) bdm = BDMBase(ndim=1, shift=1) return PerturbationExperiment(bdm, X, metric='ent')
def perturbation_ent(bdm_d2): np.random.seed(1001) X = np.random.randint(0, 2, (25, 25), dtype=int) return PerturbationExperiment(bdm_d2, X, metric='ent')
def perturbation_d1_ent(bdm_d1): np.random.seed(999) X = np.random.randint(0, 2, (100, ), dtype=int) return PerturbationExperiment(bdm_d1, X, metric='ent')
def perturbation_overlap(): np.random.seed(1001) X = np.random.randint(0, 2, (25, 25), dtype=int) bdm = BDMBase(ndim=2, shift=1) return PerturbationExperiment(bdm, X)