jax.scipy.special.ndtr#
- jax.scipy.special.ndtr(x)[source]#
正态分布函数。
JAX 实现
scipy.special.ndtr
.返回高斯概率密度函数下的面积,从负无穷积分到 x
\[\begin{split}\begin{align} \mathrm{ndtr}(x) =& \ \frac{1}{\sqrt{2 \pi}}\int_{-\infty}^{x} e^{-\frac{1}{2}t^2} dt \\ =&\ \frac{1}{2} (1 + \mathrm{erf}(\frac{x}{\sqrt{2}})) \\ =&\ \frac{1}{2} \mathrm{erfc}(\frac{x}{\sqrt{2}}) \end{align}\end{split}\]