Explore mode!ΒΆ

Explore mode is an experimental feature that allows you to (not surprisingly) explore the points in your dataset. When you hover over the points, a label will pop up that will help you identify the datapoint. You can customize the labels by passing a list of labels to the label(s) kwarg. Alternatively, if you don’t pass a list of labels, the labels will be the index of the datapoint, along with the PCA coordinate.

# Code source: Andrew Heusser
# License: MIT

import hypertools as hyp
import scipy.io as sio
import numpy as np

data=sio.loadmat('sample_data/weights.mat')
w=[i for i in data['weights'][0][0:2]]

hyp.plot(w,'o', explore=True)

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

Generated by Sphinx-Gallery