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

# import
from sklearn import datasets
import hypertools as hyp

# load example data
digits = datasets.load_digits(n_class=6)
data = digits.data
hue = digits.target

# plot
hyp.plot(data, '.', hue=hue)

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

Gallery generated by Sphinx-Gallery