def updateExpectations(self): self.value = 2 * lambdafn( self.markov_blanket["Y"].getParameters()["zeta"])
def updateExpectations(self): self.E = (2. * self.obs - 1.) / (4. * lambdafn(self.params["zeta"])) self.means = self.E.mean(axis=0).data self.E -= self.means
def updateExpectations(self): self.E = (2. * self.obs - 1.) / (4. * lambdafn(self.params["zeta"])) # regress out feature-wise mean from the pseudodata self.means = self.E.mean(axis=0).data self.E -= self.means