예제 #1
0
 def generate_X1():
     return pd.Series(experiments_helper.sample_mixture([0.5, 0.5], [-2, 2], [1, 1], size, seed=seed+1), name="X1")
 def generate_B():
     return pd.Series(experiments_helper.sample_mixture([0.5, 0.5], [-2, 2],
                                                        [1, 1], size),
                      name="A")
예제 #3
0
 def generate_X12():
     return pd.Series(
             experiments_helper.sample_mixture([0.3, 0.4, 0.3], [-2, 0, 2], [0.5, 1, 0.5], size, seed=seed+12),
             name="X12")