def setUp(self): self.bandit = coin_flip() self.algo = RandomStop(5, self.bandit) self.trials = Trials() self.experiment = Experiment(self.trials, self.algo, async=False)
def setUp(self): self.bandit = coin_flip() self.algo = Random(self.bandit)