()
| 819 | |
| 820 | @register('normal', 'gauss') |
| 821 | def normal_kernel(): |
| 822 | sqrt2pi = sqrt(2 * pi) |
| 823 | neg_sqrt2 = -sqrt(2) |
| 824 | pdf = lambda t: exp(-1/2 * t * t) / sqrt2pi |
| 825 | cdf = lambda t: 1/2 * erfc(t / neg_sqrt2) |
| 826 | invcdf = lambda t: _normal_dist_inv_cdf(t, 0.0, 1.0) |
| 827 | support = None |
| 828 | return pdf, cdf, invcdf, support |
| 829 | |
| 830 | @register('logistic') |
| 831 | def logistic_kernel(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…