Skip to main content

A package to load datasets for benchmarking prescriptive analytics approaches dynamically

Reason this release was yanked:

datasetsDynamic

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


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.5.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

datasetsDynamic-0.0.5-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file datasetsDynamic-0.0.5.tar.gz.

File metadata

  • Download URL: datasetsDynamic-0.0.5.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

Hashes for datasetsDynamic-0.0.5.tar.gz
Algorithm Hash digest
SHA256 5b9607ed3809918f025c933c500a2354c000c3b18850bd91b64f55db935bec5a
MD5 de5621c876fff4b55610b354aff48c2d
BLAKE2b-256 3b0ec74302c2c28f2a700089af254a67d05df81650324d3c13b6b5d6fccf0a95

See more details on using hashes here.

File details

Details for the file datasetsDynamic-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for datasetsDynamic-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e9224e2dbd5ec939ae753361c695390411dcd8eb0bdecbf9605ecd8d55607c80
MD5 23144e28abfffbe3b8d64e0fedcafda9
BLAKE2b-256 3c60a06ec001b7bc544556b8f876d1f431f09fd5623e6e5e7f4e85038ee4189c

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