예제 #1
0
파일: Model.py 프로젝트: TerryLew/BinLOTlib
 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))
예제 #2
0
파일: Model.py 프로젝트: joshrule/LOTlib
 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))
예제 #3
0
파일: Hypothesis.py 프로젝트: wrongu/LOTlib
 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))