RegData
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,tensorflowornumpyby setting a global backend. - Scale
Xand/orydata withMinMaxScalerorStandardScaler. - Get
yin squeezed(n,)or unsqueezed(n,1)format. - Perform only mean normalization on
y. - Add custom noise to the observations (
y). - Get consistent data with fixed random seed.
Plot datasets to have a quick glance
import regdata as rd
rd.Olympic().plot()
Checkout all plots here.
Datasets
from regdata import (
DellaGattaGene,
Heinonen4,
Jump1D,
MotorcycleHelmet,
NonStat2D,
Olympic,
SineJump1D,
SineNoisy,
Smooth1D,
Step
)
References
Metadata
Release files for regdata 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| regdata-1.0.4.tar.gz | 431.7 kB | Without provenance | Details for regdata-1.0.4.tar.gz |
Release files / regdata-1.0.4.tar.gz
| Download URL | regdata-1.0.4.tar.gz |
|---|---|
| Size | 431.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
939d390b7f861e6fd3f6a64334e77913675047e2953175f5957213a9bdfd500b
|
|
BLAKE2b-256 checksum How to use checksums |
e460b415aea9984585216f3e416885105bd9cb8b1e26a7385ed67361cbe6d746
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for regdata 1.0.4
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.