Пример #1
0
 def logp(self, F, Y):
     return densities.bernoulli(self.invlink(F), Y)
Пример #2
0
 def predict_density(self, Fmu, Fvar, Y):
     p =  self.predict_mean_and_var(Fmu, Fvar)[0]
     return densities.bernoulli(p, Y)
Пример #3
0
 def logp(self, F, Y):
     return bernoulli(self.invlink(F), Y)