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
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

Release history Release notifications | RSS feed

This release

0.5 This release

1 release file

0.4.1

2 release files

0.4

2 release files

0.3

1 release file

0.2

1 release file

0.1

1 release file

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