Skip to main content

A unified API for exploring any ML task

Project description

PyPI version Datasets docs

DatasetHub: A Unified API for Exploring Any ML Task

DatasetHub is an educational project that provides a simple .get_<dataset>() API to access datasets.

import dataset_hub

titanic = dataset_hub.classification.get_titanic()
print(type(titanic)) # pandas.DataFrame

It lets beginners access datasets effortlessly, while giving practitioners a single interface to experiment with any open dataset or ML task.

Installation

# Python 3.10+
pip install dataset-hub

Available tasks and datasets:

dataset-hub.docs.com

Why this library exists

DatasetHub was created to provide a single, unified entry point for experimenting with any classic ML task — from scoring and forecasting to fraud detection and uplift modeling.

Looking ahead, the project focuses on two major directions:

  1. Assemble a large collection of open datasets for a variety of classic ML tasks, all easily accessible through the unified .get_<dataset>() interface.

  2. Provide realistic, ready-to-use synthetic datasets that mimic real-world business scenarios, enabling experimentation for niche tasks where open data is scarce.

API Disclaimer

  1. Temporary issues
    Our dataset functions rely on external sources. If a source and mirror sources become unavailable or temporarily fail, a function may stop working temporarily or completely.
    If you encounter a persistent issue under such circumstances, please open an issue and provide detailed information about your attempts.

  2. Dynamic API
    If all available sources and mirror sources for a dataset completely disappear and the dataset is no longer publicly accessible, our API may change, and the dataset may be removed. Please be prepared for this possibility.

  3. Copyright concerns
    Similar changes may occur if a copyright holder requests the removal of access to a dataset.

For copyright holders

If you believe your data should not be included or accessible via this project, please contact us directly. We will promptly review your request and take appropriate action to remove or restrict access to the dataset in question.

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

dataset_hub-0.1.1.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dataset_hub-0.1.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file dataset_hub-0.1.1.tar.gz.

File metadata

  • Download URL: dataset_hub-0.1.1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for dataset_hub-0.1.1.tar.gz
Algorithm Hash digest
SHA256 37e4e2b2d046396568ce24ccfa44d35b94acb18974c17d249e29e5374f131f1a
MD5 8e87624d409d67ccb786a398ddc2061b
BLAKE2b-256 5aa4bfe1efac0e64ef596a8340cbdfa6465fe7af9042826440e0904f49e01781

See more details on using hashes here.

File details

Details for the file dataset_hub-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dataset_hub-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for dataset_hub-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c238b3296c362dcefe1a00efe20a22299a0c3bc3f1d4f829d5c10a22f2b2213
MD5 5837c9970c746dbab3a379728a2e225d
BLAKE2b-256 53a9ce8ca80a0fbb1fd11ee2c6b568f3374765d4167460edf6f5b8768f2b67f8

See more details on using hashes here.

Supported by

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