Skip to main content

A library for generating contextual timeseries data.

Project description

“DAI-Lab” An open source project from Data to AI Lab at MIT.

PyPI Shield Downloads GitHub Actions Build Status

Cents

A library for generative modeling and evaluation of synthetic household-level electricity load timeseries. This package is still under active development.

Overview

Cents is a library built for generating contextual time series data. Cents supports several generative time series model architectures that can be used to train a time series data generator from scratch on a user-defined dataset. Additionally, Cents provides functionality for loading pre-trained model checkpoints that can be used to generate data instantly.

Cents was used to train the Watts model series.

Feel free to look at our tutorial notebooks to get started.

Install

Requirements

Cents has been developed and tested on Python 3.9, Python 3.10 and Python 3.11.

We recommend using Poetry for dependency management. Make sure you have poetry installed before following these setup instructions.

Poetry will automatically create a virtual environment and install all dependencies:

poetry install

Once installed, activate the virtual environment:

poetry shell

This gives you a clean, reproducible setup for development.

Install from PyPI

If you are only interested in using Cents functionality, we recommend using pip in order to install Cents:

pip install cents-ml

This will pull and install the latest stable release from PyPI.

Datasets

If you want to reproduce the pretrained Watts model series from scratch, you will need to download the PecanStreet DataPort dataset and place it in an appropriate location specified in cents/config/dataset/pecanstreet.yaml. Specifically you will require the following files:

  • 15minute_data_austin.csv
  • 15minute_data_california.csv
  • 15minute_data_newyork.csv
  • metadata.csv

What's next?

New models, new evaluation functionality and new datasets coming soon!

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

cents_ml-1.0.1.tar.gz (59.6 kB view details)

Uploaded Source

Built Distribution

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

cents_ml-1.0.1-py3-none-any.whl (72.7 kB view details)

Uploaded Python 3

File details

Details for the file cents_ml-1.0.1.tar.gz.

File metadata

  • Download URL: cents_ml-1.0.1.tar.gz
  • Upload date:
  • Size: 59.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.18 Darwin/24.5.0

File hashes

Hashes for cents_ml-1.0.1.tar.gz
Algorithm Hash digest
SHA256 95c49f862ad50094e087e278d3efdf6801cc0cf756119c1985a1ea2d2d3d57ac
MD5 beb8d6aed78841ea79a30e507bea70bb
BLAKE2b-256 76a3387038e4f6659b934bb1e26a74ca1e430ae0faf89bc0566400f08302938a

See more details on using hashes here.

File details

Details for the file cents_ml-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: cents_ml-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 72.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.18 Darwin/24.5.0

File hashes

Hashes for cents_ml-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2394bec7ea8acaba6117de122016c77b3ef8beaf225cd7bb04de4a69c388ef57
MD5 c7209e58059299cd551fdd7c31289674
BLAKE2b-256 f1706f297ba711d21f9cc2d0657a060adb10c763380c1a7fc5df8079e8f4c12b

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