Пример #1
0
    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)
Пример #2
0
    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)
Пример #3
0
 def query_model(self):
     self.val = gaussian(0, 1)
Пример #4
0
 def sample(self):
     return gaussian(mean, std)
Пример #5
0
 def sample(self):
     return gaussian(mean, std)
Пример #6
0
 def query_model(self):
     self.val = gaussian(0, 1)