def query_model(self): if flip(0.9): self.a = exponential(2.0) else: self.a = 0.7 self.b = gaussian(self.a, 1.0)
def query_model(self): self.val = gaussian(0, 1)
def sample(self): return gaussian(mean, std)