Skip to content

Update settings.rst #17919

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

Merged
merged 1 commit into from
Jul 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions doc/tutorial/statistical_inference/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ needs to be preprocessed in order to be used by scikit-learn.

.. topic:: An example of reshaping data would be the digits dataset

.. image:: /auto_examples/datasets/images/sphx_glr_plot_digits_last_image_001.png
:target: ../../auto_examples/datasets/plot_digits_last_image.html
:align: right
:scale: 60

The digits dataset is made of 1797 8x8 images of hand-written
digits ::

Expand All @@ -45,7 +40,12 @@ needs to be preprocessed in order to be used by scikit-learn.
>>> import matplotlib.pyplot as plt #doctest: +SKIP
>>> plt.imshow(digits.images[-1], cmap=plt.cm.gray_r) #doctest: +SKIP
<matplotlib.image.AxesImage object at ...>


.. image:: /auto_examples/datasets/images/sphx_glr_plot_digits_last_image_001.png
:target: ../../auto_examples/datasets/plot_digits_last_image.html
:align: left
:scale: 60

To use this dataset with scikit-learn, we transform each 8x8 image into a
feature vector of length 64 ::

Expand Down