Easy access to datasets from the UCI Machine Learning Repository
Project description
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]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ucimlr-0.3.0.tar.gz.
File metadata
- Download URL: ucimlr-0.3.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
767bf7bab6fd8aa3b81711a9cbfb0b0a0bedf23b8e2070c3c2245a97ba5cb7b9
|
|
| MD5 |
a67cd61e7ea39de6bc45bf3dc353364d
|
|
| BLAKE2b-256 |
3b7a04128ca5ee516d7361cb025638984949260bcb61513c659922c7cbbdb0c2
|
File details
Details for the file ucimlr-0.3.0-py3-none-any.whl.
File metadata
- Download URL: ucimlr-0.3.0-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea84cb5a48f75283a7f2f9ea66996b07f842f6d84ae81ba96932c273c938801c
|
|
| MD5 |
183ad9cd613b1680444050b88a7a3006
|
|
| BLAKE2b-256 |
1741a3a7f663aefdc49f97a58a9eded4f3042ae2461402407a5ca0f68d0db7c8
|