Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC fix minor typos #23414

Merged
merged 1 commit into from May 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/tutorial/statistical_inference/supervised_learning.rst
Expand Up @@ -133,7 +133,7 @@ Linear model: from regression to sparsity
.. topic:: Diabetes dataset

The diabetes dataset consists of 10 physiological variables (age,
sex, weight, blood pressure) measure on 442 patients, and an
sex, weight, blood pressure) measured on 442 patients, and an
indication of disease progression after one year::

>>> diabetes_X, diabetes_y = datasets.load_diabetes(return_X_y=True)
Expand Down Expand Up @@ -309,7 +309,7 @@ informative features and set non-informative ones, like feature 2 to 0. Ridge
regression will decrease their contribution, but not set them to zero. Another
penalization approach, called :ref:`lasso` (least absolute shrinkage and
selection operator), can set some coefficients to zero. Such methods are
called **sparse method** and sparsity can be seen as an
called **sparse methods** and sparsity can be seen as an
application of Occam's razor: *prefer simpler models*.

::
Expand Down