def compute_prior(self): # Add together the LOT prior and the constant prior, here just a gaussian return LOTHypothesis.compute_prior(self) +\ sum(map(lambda x: normlogpdf(x,0.0,self.constant_sd), self.parameters))
def compute_prior(self): # Add together the LOT prior and the constant prior, here just a gaussian return LOTHypothesis.compute_prior(self) +\ sum(map(lambda x: normlogpdf(x,0.0,self.constant_sd), self.parameters))
def compute_prior(self): # Add together the structural prior and the constant prior return LOTHypothesis.compute_prior(self) +\ sum(map(lambda x: normlogpdf(x,0.0,self.constant_sd), self.CONSTANT_VALUES))