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.
Basic usage
from ucimlr import regression_datasets
abalone = regression_datasets.Abalone('dataset_folder')
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[0]
Metadata
Release files for ucimlr 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ucimlr-0.3.0.tar.gz | 9.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ucimlr-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.7 kB
Release files / ucimlr-0.3.0.tar.gz
| Download URL | ucimlr-0.3.0.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
767bf7bab6fd8aa3b81711a9cbfb0b0a0bedf23b8e2070c3c2245a97ba5cb7b9
|
|
BLAKE2b-256 checksum How to use checksums |
3b7a04128ca5ee516d7361cb025638984949260bcb61513c659922c7cbbdb0c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
|
Release files / ucimlr-0.3.0-py3-none-any.whl
| Download URL | ucimlr-0.3.0-py3-none-any.whl |
|---|---|
| Size | 20.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea84cb5a48f75283a7f2f9ea66996b07f842f6d84ae81ba96932c273c938801c
|
|
BLAKE2b-256 checksum How to use checksums |
1741a3a7f663aefdc49f97a58a9eded4f3042ae2461402407a5ca0f68d0db7c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
|