Convenience loaders for the bundled classification datasets.
Each function reads one ARFF file that ships with TuiML and returns a Dataset. They take no arguments and need no download, so they are the quickest way to get a labelled dataset for an example, a test, or a benchmark.
Every loader here is also reachable by name through load_dataset, and its shape and class count are recorded in DATASET_REGISTRY.
>>> from tuiml.datasets import load_iris
>>> X, y = load_iris()
>>> X.shape
(150, 4)
Functions
Load the classic Iris flower dataset.
Returns
Dataset
>>> from tuiml.datasets import load_iris
>>> X, y = load_iris()
Load the Pima Indians Diabetes dataset.
Returns
dataset
Load the Breast Cancer Wisconsin dataset.
Returns
dataset
Load the Glass Identification dataset.
Returns
dataset
Load the Ionosphere dataset.
Returns
dataset
Load the Congressional Voting Records dataset.
Returns
dataset
Load the German Credit dataset.
Returns
dataset
Load the Soybean dataset.
Returns
dataset
Load the Labor Relations dataset.
Returns
dataset
Load the Contact Lenses dataset.
Returns
dataset