Skip to main content

image0 image1

A python util to fetch datasets from different databases.

Currently supported databases are:

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)

Source distribution for libsvmdata 0.5
File Size Uploaded Provenance Actions
libsvmdata-0.5.tar.gz 9.5 kB Without provenance Details for libsvmdata-0.5.tar.gz

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

Security for libsvmdata 0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page