API Reference / datasets / builtin /

regression.py

Convenience loaders for the bundled regression datasets.

Each function reads one ARFF file that ships with TuiML and returns a Dataset whose target is continuous, so they pair with any Regressor.

Every loader here is also reachable by name through load_dataset.

python
>>> from tuiml.datasets import load_cpu
>>> data = load_cpu()
>>> data.X.shape
(209, 6)

Functions

Func

load_cpu

Line 22
load_cpu() -> Dataset

Load the Computer Hardware (CPU) Performance dataset.

209 instances with 6 continuous features for regression tasks.

Returns

Dataset
Standardized dataset object containing the data and metadata.
python
>>> from tuiml.datasets import load_cpu
>>> data = load_cpu()
>>> print(data.X.shape)
(209, 6)