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

All Samples(16)  |  Call(10)  |  Derive(0)  |  Import(6)

src/c/o/cogent-1.5.3/cogent/maths/stats/period.py   cogent(Download)
    from math import factorial
except ImportError: # python version < 2.6
    from cogent.maths.stats.special import Gamma
    factorial = lambda x: Gamma(x+1)
 

src/p/y/pycogent-HEAD/cogent/maths/stats/period.py   pycogent(Download)
    from math import factorial
except ImportError: # python version < 2.6
    from cogent.maths.stats.special import Gamma
    factorial = lambda x: Gamma(x+1)
 

src/c/o/cogent-1.5.3/cogent/maths/stats/test.py   cogent(Download)
from cogent.maths.stats.ks import psmirnov2x, pkstwo
from cogent.maths.stats.kendall import pkendall, kendalls_tau
from cogent.maths.stats.special import Gamma
 
from numpy import absolute, arctanh, array, asarray, concatenate, transpose, \
        if alt in two:
            if q > num * (num - 1) / 4:
                p = 1 - pkendall(q-1, num, Gamma(num+1), working)
            else:
                p = pkendall(q, num, Gamma(num+1), working)
            p = min(2*p, 1)
        elif alt in hi:
            p = 1 - pkendall(q-1, num, Gamma(num+1), working)
        elif alt in lo:
            p = pkendall(q, num, Gamma(num+1), working)

src/p/y/pycogent-HEAD/cogent/maths/stats/test.py   pycogent(Download)
from cogent.maths.stats.ks import psmirnov2x, pkstwo
from cogent.maths.stats.kendall import pkendall, kendalls_tau
from cogent.maths.stats.special import Gamma
 
from numpy import absolute, arctanh, array, asarray, concatenate, transpose, \
        if alt in two:
            if q > num * (num - 1) / 4:
                p = 1 - pkendall(q-1, num, Gamma(num+1), working)
            else:
                p = pkendall(q, num, Gamma(num+1), working)
            p = min(2*p, 1)
        elif alt in hi:
            p = 1 - pkendall(q-1, num, Gamma(num+1), working)
        elif alt in lo:
            p = pkendall(q, num, Gamma(num+1), working)

src/q/i/qiime-HEAD/qiime/pycogent_backports/test.py   qiime(Download)
from cogent.maths.stats import chisqprob
from cogent.maths.stats.ks import psmirnov2x, pkstwo
from cogent.maths.stats.special import Gamma
 
from numpy import (absolute, arctanh, array, asarray, concatenate, transpose,

src/q/i/qiime-1.8.0/qiime/pycogent_backports/test.py   qiime(Download)
from cogent.maths.stats import chisqprob
from cogent.maths.stats.ks import psmirnov2x, pkstwo
from cogent.maths.stats.special import Gamma
 
from numpy import (absolute, arctanh, array, asarray, concatenate, transpose,