8000 DOC fix dataset loading documentation (#17993) · thomasjpfan/scikit-learn@6ddaaed · GitHub
[go: up one dir, main page]

Skip to content

Commit 6ddaaed

authored
DOC fix dataset loading documentation (scikit-learn#17993)
1 parent 4a60ec1 commit 6ddaaed

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/datasets/index.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ Loading other datasets
265265
Sample images
266266
-------------
267267

268-
Scikit-learn also embed a couple of sample JPEG images published under Creative
268+
Scikit-learn also embeds a couple of sample JPEG images published under Creative
269269
Commons license by their authors. Those images can be useful to test algorithms
270-
and pipeline on 2D data.
270+
and pipelines on 2D data.
271271

272272
.. autosummary::
273273

@@ -286,9 +286,9 @@ and pipeline on 2D data.
286286
.. warning::
287287

288288
The default coding of images is based on the ``uint8`` dtype to
289-
spare memory. Often machine learning algorithms work best if the
290-
input is converted to a floating point representation first. Also,
291-
if you plan to use ``matplotlib.pyplpt.imshow`` don't forget to scale to the range
289+
spare memory. Often machine learning algorithms work best if the
290+
input is converted to a floating point representation first. Also,
291+
if you plan to use ``matplotlib.pyplpt.imshow``, don't forget to scale to the range
292292
0 - 1 as done in the following example.
293293

294294
.. topic:: Examples:
@@ -428,7 +428,7 @@ the earliest version of a dataset that is still active. That means that
428428
``fetch_openml(name="miceprotein")`` can yield different results at different
429429
times if earlier versions become inactive.
430430
You can see that the dataset with ``data_id`` 40966 that we fetched above is
431-
the version 1 of the "miceprotein" dataset::
431+
the first version of the "miceprotein" dataset::
432432

433433
>>> mice.details['version'] #doctest: +SKIP
434434
'1'

0 commit comments

Comments
 (0)
0