Skip to main content

Fetcher for LIBSVM datasets

Project description

image0 image1

A python util to fetch datasets from the LIBSVM website.

Getting design matrix and target variable is as easy as:

from libsvmdata import fetch_libsvm
X, y = fetch_libsvm("news20.binary")

Currently supported datasets are in libsvmdata.supported.

The datasets are saved in a subfolder libsvm inside libsvmdata.datasets.DATA_HOME, whose value is:

  • the environment variable LIBSVMDATA_HOME if it exists,

  • else, the environment variable XDG_DATA_HOME if it exists,

  • else, $HOME/data.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

libsvmdata-0.4.1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

libsvmdata-0.4.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file libsvmdata-0.4.1.tar.gz.

File metadata

  • Download URL: libsvmdata-0.4.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.12

File hashes

Hashes for libsvmdata-0.4.1.tar.gz
Algorithm Hash digest
SHA256 a5e97193e73d5c1aed6180d17f7f2a09b8537a04d8062979d7b1b887d30bf9d5
MD5 1971a69fec202ad156f8ea49093237d3
BLAKE2b-256 19e87096de3295058c5f227d122e298d86c1834b75721885660e82814172db05

See more details on using hashes here.

File details

Details for the file libsvmdata-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: libsvmdata-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.12

File hashes

Hashes for libsvmdata-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 203d72aece603a1fc93362adacd67c6d3543ef1a7a49c5bf08c48e1f77969dfd
MD5 72d29065eb8940ac781be6f20349793a
BLAKE2b-256 f938e2d64862f9d7c6e761f6d61ee9cd11badc98abd484f28a5dfb0310489334

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page