Visualizing the digits datasetΒΆ

This example loads in some data from the scikit-learn digits dataset and plots it.

../_images/sphx_glr_plot_digits_001.png
# Code source: Andrew Heusser
# License: MIT

from sklearn import datasets
import hypertools as hyp

digits = datasets.load_digits(n_class=6)
data = digits.data
group = digits.target

hyp.plot(data, '.', group=group)

Total running time of the script: ( 0 minutes 0.148 seconds)

Generated by Sphinx-Gallery