Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/b/i/BIP-0.5.14/BIP/Bayes/general/bvariables.py   BIP(Download)
            'expon': lambda(x):(1. / x[2]) ** x[0].size * exp(-(1. / x[2]) * sum(x[0])),
            'beta': lambda(x):like.Beta(x[0], x[1], x[2]),
            'uniform': lambda(x): like.Uniform(x[0], x[1]-2 * sqrt(x[2]), x[1] + 2 * sqrt(x[2]))
        }
        return like_funs[dname]