Beispiel #1
0
 def sampleBernoulli(self, base):
     self.dist = sampler.sampleDirichlet(self, base, nullState=False)
     self.condCounts[:] = 0
     self.pairCounts[:, :] = 0
Beispiel #2
0
 def sampleDirichlet(self, base):
     self.dist = sampler.sampleDirichlet(self, base)
     self.pairCounts[:,:] = 0