Skip to content

Commit

Permalink
Merge pull request #21759 from rajasekharporeddy:testbranch1
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 641831969
  • Loading branch information
jax authors committed Jun 10, 2024
2 parents 8fbe65b + 775c6f8 commit af95803
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion jax/_src/scipy/stats/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def rankdata(
if nan_policy not in ["propagate", "omit", "raise"]:
raise ValueError(
f"Illegal nan_policy value {nan_policy!r}; expected one of "
"{'propoagate', 'omit', 'raise'}"
"{'propagate', 'omit', 'raise'}"
)
if nan_policy == "omit":
raise NotImplementedError(
Expand Down
4 changes: 2 additions & 2 deletions jax/_src/scipy/stats/bernoulli.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def logpmf(k: ArrayLike, p: ArrayLike, loc: ArrayLike = 0) -> Array:
JAX implementation of :obj:`scipy.stats.bernoulli` ``logpmf``
The Bernoulli probablility mass function is defined as
The Bernoulli probability mass function is defined as
.. math::
Expand Down Expand Up @@ -62,7 +62,7 @@ def pmf(k: ArrayLike, p: ArrayLike, loc: ArrayLike = 0) -> Array:
JAX implementation of :obj:`scipy.stats.bernoulli` ``pmf``
The Bernoulli probablility mass function is defined as
The Bernoulli probability mass function is defined as
.. math::
Expand Down
4 changes: 2 additions & 2 deletions jax/_src/scipy/stats/multivariate_normal.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def logpdf(x: ArrayLike, mean: ArrayLike, cov: ArrayLike, allow_singular: None =
f(x) = \frac{1}{(2\pi)^k\det\Sigma}\exp\left(-\frac{(x-\mu)^T\Sigma^{-1}(x-\mu)}{2} \right)
where :math:`\mu` is the ``mean``, :math:`\Sigma` is the covarance matrix (``cov``), and
where :math:`\mu` is the ``mean``, :math:`\Sigma` is the covariance matrix (``cov``), and
:math:`k` is the rank of :math:`\Sigma`.
Args:
Expand Down Expand Up @@ -83,7 +83,7 @@ def pdf(x: ArrayLike, mean: ArrayLike, cov: ArrayLike) -> Array:
f(x) = \frac{1}{(2\pi)^k\det\Sigma}\exp\left(-\frac{(x-\mu)^T\Sigma^{-1}(x-\mu)}{2} \right)
where :math:`\mu` is the ``mean``, :math:`\Sigma` is the covarance matrix (``cov``), and
where :math:`\mu` is the ``mean``, :math:`\Sigma` is the covariance matrix (``cov``), and
:math:`k` is the rank of :math:`\Sigma`.
Args:
Expand Down
2 changes: 1 addition & 1 deletion jax/_src/scipy/stats/norm.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def ppf(q: ArrayLike, loc: ArrayLike = 0, scale: ArrayLike = 1) -> Array:
scale: arraylike, distribution scale parameter
Returns:
array of ppdf values.
array of ppf values.
See Also:
- :func:`jax.scipy.stats.norm.cdf`
Expand Down

0 comments on commit af95803

Please sign in to comment.