The Dataset class is the fundamental class upon which all others are built. Many classes inherit from Dataset and extend it's abilities, while other, peer classes hook into the functionality of the Dataset. However, while a Dataset instance may exist independently, these other classes may not. If you have correctly set up your python environment as described in the preliminaries tutorial, type
python to enter the interpreter. Once you are at the python prompt (
>>> ), type the following command to import the Dataset class.
>>> from compClust.mlx.datasets import *
If you see the error
No module named compClust.mlx.datasets, be sure that you have correctly set the
PYTHONPATH environment variable. If warnings about shadowed variables apprear, make sure that your are running pyhthon2.2 or higher. The PyMLX codebase depends of the
nested_scopes extension introduced in the 2.2 series. If there is no error you should be back at the prompt.