A package to load datasets for benchmarking prescriptive analytics approaches dynamically
Project description
datasetsDynamic
Install
pip install datasetsDynamic
How to use
For every dataset a load function is implemented which computes training
and test data for the corresponding dataset including all preprocessing
and basic feature engineering steps. For most datasets the test period
can be chosen dynamically using the parameter testDays
. While doing
so, it is ensured that all features that depend on the train and test
structure are computed only based on the training data.
from datasetsDynamic.loadDataYaz import loadDataYaz
data, XTrain, yTrain, XTest, yTest = loadDataYaz(testDays = 28, returnXY = True, daysToCut = 0, disable_progressbar = False)
Rolling: 100%|██████████| 30/30 [00:00<00:00, 36.35it/s]
Feature Extraction: 100%|██████████| 30/30 [00:02<00:00, 13.59it/s]
Rolling: 100%|██████████| 30/30 [00:00<00:00, 35.29it/s]
Feature Extraction: 100%|██████████| 30/30 [00:02<00:00, 12.19it/s]
Rolling: 100%|██████████| 30/30 [00:00<00:00, 37.20it/s]
Feature Extraction: 100%|██████████| 30/30 [00:02<00:00, 14.39it/s]
from datasetsDynamic.loadDataBakery import loadDataBakery
data, XTrain, yTrain, XTest, yTest = loadDataBakery(testDays = 28, returnXY = True, daysToCut = 0, disable_progressbar = False)
Rolling: 100%|██████████| 152/152 [00:11<00:00, 13.25it/s]
Feature Extraction: 100%|██████████| 160/160 [00:43<00:00, 3.70it/s]
Rolling: 100%|██████████| 152/152 [00:12<00:00, 11.84it/s]
Feature Extraction: 100%|██████████| 160/160 [00:44<00:00, 3.59it/s]
Rolling: 100%|██████████| 152/152 [00:11<00:00, 13.53it/s]
Feature Extraction: 100%|██████████| 160/160 [00:44<00:00, 3.57it/s]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
datasetsDynamic-0.0.6.tar.gz
(1.6 MB
view details)
Built Distribution
File details
Details for the file datasetsDynamic-0.0.6.tar.gz
.
File metadata
- Download URL: datasetsDynamic-0.0.6.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77a0ec5d4facb7672cd1471560ae6fc1a8892e543fad517c421e7f292ea00eb7 |
|
MD5 | bf9da2977ff27b713c0f37a8ecb6741b |
|
BLAKE2b-256 | 543fe375839beaca1c5687de653ea8de34b0ef9f57da77d755f672a03047ff35 |
File details
Details for the file datasetsDynamic-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: datasetsDynamic-0.0.6-py3-none-any.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de919a13f4b994c666771290d2f1e08d79295c8eea8d20cc416a83b57be91dc6 |
|
MD5 | d13d9fd60048db1fdc54e22548ce437a |
|
BLAKE2b-256 | 975a01fd59177b7603396ef751fd7f970ad9d45072f2fc9bcb616462f58a5cac |