A python util to fetch datasets from different databases.
Currently supported databases are:
LIBSVM (libsvm)
Getting design matrix and target variable is as easy as:
from libsvmdata import fetch_dataset
X, y = fetch_dataset("news20.binary")
Currently supported datasets are in libsvmdata.supported and can be displayed as:
from libsvmdata import print_supported_datasets print_supported_datasets()
There is no need to specify the database name.
Files are saved under DATA_HOME/<database_name>, where the value of DATA_HOME is:
the environment variable LIBSVMDATA_HOME if it exists,
else, the environment variable XDG_DATA_HOME if it exists,
else, $HOME/data.
Metadata
Release files for libsvmdata 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| libsvmdata-0.5.tar.gz | 9.5 kB | Details |
Release files / libsvmdata-0.5.tar.gz
| Download URL | libsvmdata-0.5.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
292b675ce8ea363dfbf7d32b4b6a5e13b59b74ffff545a2198237270da710e46
|
|
BLAKE2b-256 checksum How to use checksums |
63a46ce78f70a5ef600ea534c1ba45403783e6f3750230f83e85850f8282732b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.14
|