Searched refs:chi2P (Results 1 – 2 of 2) sorted by relevance
/dports/textproc/py-reverend/Reverend-0.3/reverend/ |
H A D | thomas.py | 282 try: H = chi2P(-2.0 * math.log(reduce(operator.mul, map(lambda p: p[1], probs), 1.0)), 2*n) 284 … try: S = chi2P(-2.0 * math.log(reduce(operator.mul, map(lambda p: 1.0-p[1], probs), 1.0)), 2*n) 312 def chi2P(chi, df): function
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/mailnews/extensions/bayesian-spam-filter/ |
H A D | nsBayesianFilter.cpp | 1320 static inline double chi2P(double chi2, double nu, int32_t* error) { in chi2P() function 1539 S = chi2P(-2.0 * S, 2.0 * goodclues, &chi_error); in classifyMessage() 1540 if (!chi_error) H = chi2P(-2.0 * H, 2.0 * goodclues, &chi_error); in classifyMessage() 1559 S = chi2P(-2.0 * sArray[tokenIndex], 2.0 * clueCount, &chi_error); in classifyMessage() 1561 H = chi2P(-2.0 * hArray[tokenIndex], 2.0 * clueCount, &chi_error); in classifyMessage()
|