2018-06-18から1日間の記事一覧
This is just going to make our generated datas as well as is able to emulate a real data collection surface. class DataGenerator: def __init__(self, p1, p2): self.p1 = p1 self.p2 = p2 def next(self): if np.random.random() < self.p1: click1…