Easy access to datasets from the UCI Machine Learning Repository
An API to the UCI Machine Learning Repository
This is a python package to enable easy access to datasets in the UCI Machine Learning Repository. Note that this is not an official API. Any usage of datasets should be cited according to instructions in the UCI Machine Learning Repository.
The project is at an early alpha stage, so suggestion for changes or additions are very welcome.
Link to documentation.
from ucimlr import datasets abalone = datasets.Abalone() print(abalone.type_) >>> regression print(len(abalone)) >>> 3341
Independent and dependent variables are accessed as numpy arrays:
print(abalone.x.shape) >>> (3341, 10) print(abalone.y.shape) >>> (3341, 1)
Or by element access:
x, y = dataset
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size ucimlr-0.1.0-py3-none-any.whl (14.3 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size ucimlr-0.1.0.tar.gz (8.4 kB)||File type Source||Python version None||Upload date||Hashes View|