Classic datasets, shipped with the library.
{"source": "iris"} work anywhere TuiML takes a data spec.iris, breast_cancer, glass, diabetes
cpu, airline.
supermarket (association rule mining), reuters (text).
builtin/data/; catalog holds the metadata table used to look a dataset up by name or by task.Dataset, which also unpacks as X, y — so both styles below are the same call.>>> from tuiml.datasets import load_iris, list_datasets
>>> data = load_iris()
>>> data.X.shape
(150, 4)
>>> X, y = load_iris() # unpacks directly
>>> len(set(y.tolist()))
3
>>> "iris" in list_datasets("classification")
True