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

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

src/t/h/ThinkComplexity-HEAD/code/cdf_example.py   ThinkComplexity(Download)
def main(name, *args):
    import Cdf
    cdf = Cdf.MakeCdfFromList([1,2,2,4,5])
    prob = cdf.Prob(2)
    print prob

src/t/h/thinkstats-HEAD/thinkstats_resources/hypothesis.py   thinkstats(Download)
 
    # compute the two tail probabilities
    left = cdf.Prob(-delta)
    right = 1.0 - cdf.Prob(delta)