Skip to main content

A collection of regression datasets

Project description

RegData

CI Coverage Status

A collection of regression datasets.

Install

pip install regdata

Quick example

import regdata as rd
rd.set_backend('torch') # numpy, tf (numpy is default)
X, y, X_test = rd.Step().get_data() # Loads step function dataset

Features

  • Simple API for quick benchmarking on various datasets.
  • Get data in any framework: torch, tensorflow or numpy by setting a global backend.
  • Scale X and/or y data with MinMaxScaler or StandardScaler.
  • Get y in squeezed (n,) or unsqueezed (n,1) format.
  • Perform only mean normalization on y.

Plot datasets to have a quick glance

import regdata as rd
rd.Olympic().plot()

Checkout all plots here.

Datasets

from regdata import (
    DellaGattaGene,
    MotorcycleHelmet,
    Olympic,
    SineJump1D,
    Smooth1D,
    Step
)

References

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

regdata-1.0.0.tar.gz (88.8 kB view details)

Uploaded Source

File details

Details for the file regdata-1.0.0.tar.gz.

File metadata

  • Download URL: regdata-1.0.0.tar.gz
  • Upload date:
  • Size: 88.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for regdata-1.0.0.tar.gz
Algorithm Hash digest
SHA256 300edf623988b309611b5396e5b04c5af4e9db3a0e789ae04a326a65da476249
MD5 9bc0a0ccf50bbb47a530e2d5feb8533a
BLAKE2b-256 00a1da2da2df6fc55f6781853d002ac1c0ca2e755a795d7aeb746ab054f1e586

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