def logp(self, F, Y): return densities.bernoulli(self.invlink(F), Y)
def predict_density(self, Fmu, Fvar, Y): p = self.predict_mean_and_var(Fmu, Fvar)[0] return densities.bernoulli(p, Y)
def logp(self, F, Y): return bernoulli(self.invlink(F), Y)