Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 241 Bytes
from common.Suite import Suite
from common.util import eval_poisson_pmf
class ArrivalRate(Suite):
def likelihood(self, data, hypo):
lam = hypo
y, k = data
like = eval_poisson_pmf(lam * y, k)
return like