DOC Fix grammar in linear_model.rst (#23456)

This commit is contained in:
David Gilbertson 2022-05-25 17:40:39 +10:00 committed by GitHub
parent 89c835234e
commit b2d4ec0e5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -571,7 +571,7 @@ The disadvantages of the LARS method include:
in the discussion section of the Efron et al. (2004) Annals of
Statistics article.
The LARS model can be used using via the estimator :class:`Lars`, or its
The LARS model can be used via the estimator :class:`Lars`, or its
low-level implementation :func:`lars_path` or :func:`lars_path_gram`.
@ -631,7 +631,7 @@ column is always zero.
Orthogonal Matching Pursuit (OMP)
=================================
:class:`OrthogonalMatchingPursuit` and :func:`orthogonal_mp` implements the OMP
:class:`OrthogonalMatchingPursuit` and :func:`orthogonal_mp` implement the OMP
algorithm for approximating the fit of a linear model with constraints imposed
on the number of non-zero coefficients (ie. the :math:`\ell_0` pseudo-norm).