Skip to content

Commit af95803

Browse files
author
jax authors
committed
Merge pull request #21759 from rajasekharporeddy:testbranch1
PiperOrigin-RevId: 641831969
2 parents 8fbe65b + 775c6f8 commit af95803

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

jax/_src/scipy/stats/_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def rankdata(
142142
if nan_policy not in ["propagate", "omit", "raise"]:
143143
raise ValueError(
144144
f"Illegal nan_policy value {nan_policy!r}; expected one of "
145-
"{'propoagate', 'omit', 'raise'}"
145+
"{'propagate', 'omit', 'raise'}"
146146
)
147147
if nan_policy == "omit":
148148
raise NotImplementedError(

jax/_src/scipy/stats/bernoulli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def logpmf(k: ArrayLike, p: ArrayLike, loc: ArrayLike = 0) -> Array:
2525
2626
JAX implementation of :obj:`scipy.stats.bernoulli` ``logpmf``
2727
28-
The Bernoulli probablility mass function is defined as
28+
The Bernoulli probability mass function is defined as
2929
3030
.. math::
3131
@@ -62,7 +62,7 @@ def pmf(k: ArrayLike, p: ArrayLike, loc: ArrayLike = 0) -> Array:
6262
6363
JAX implementation of :obj:`scipy.stats.bernoulli` ``pmf``
6464
65-
The Bernoulli probablility mass function is defined as
65+
The Bernoulli probability mass function is defined as
6666
6767
.. math::
6868

jax/_src/scipy/stats/multivariate_normal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def logpdf(x: ArrayLike, mean: ArrayLike, cov: ArrayLike, allow_singular: None =
3333
3434
f(x) = \frac{1}{(2\pi)^k\det\Sigma}\exp\left(-\frac{(x-\mu)^T\Sigma^{-1}(x-\mu)}{2} \right)
3535
36-
where :math:`\mu` is the ``mean``, :math:`\Sigma` is the covarance matrix (``cov``), and
36+
where :math:`\mu` is the ``mean``, :math:`\Sigma` is the covariance matrix (``cov``), and
3737
:math:`k` is the rank of :math:`\Sigma`.
3838
3939
Args:
@@ -83,7 +83,7 @@ def pdf(x: ArrayLike, mean: ArrayLike, cov: ArrayLike) -> Array:
8383
8484
f(x) = \frac{1}{(2\pi)^k\det\Sigma}\exp\left(-\frac{(x-\mu)^T\Sigma^{-1}(x-\mu)}{2} \right)
8585
86-
where :math:`\mu` is the ``mean``, :math:`\Sigma` is the covarance matrix (``cov``), and
86+
where :math:`\mu` is the ``mean``, :math:`\Sigma` is the covariance matrix (``cov``), and
8787
:math:`k` is the rank of :math:`\Sigma`.
8888
8989
Args:

jax/_src/scipy/stats/norm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def ppf(q: ArrayLike, loc: ArrayLike = 0, scale: ArrayLike = 1) -> Array:
175175
scale: arraylike, distribution scale parameter
176176
177177
Returns:
178-
array of ppdf values.
178+
array of ppf values.
179179
180180
See Also:
181181
- :func:`jax.scipy.stats.norm.cdf`

0 commit comments

Comments
 (0)