Skip to main content

“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!

Metadata

Release files for cents-ml 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cents-ml 1.0.1
File Size Uploaded
cents_ml-1.0.1.tar.gz 59.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cents-ml 1.0.1
File Interpreter ABI Platform
cents_ml-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 132.3 kB

Release files / cents_ml-1.0.1.tar.gz

Download URL cents_ml-1.0.1.tar.gz
Size 59.6 kB
Tags Source
SHA-256 checksum
How to use checksums
95c49f862ad50094e087e278d3efdf6801cc0cf756119c1985a1ea2d2d3d57ac
BLAKE2b-256 checksum
How to use checksums
76a3387038e4f6659b934bb1e26a74ca1e430ae0faf89bc0566400f08302938a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.10.18 Darwin/24.5.0

Release files / cents_ml-1.0.1-py3-none-any.whl

Download URL cents_ml-1.0.1-py3-none-any.whl
Size 72.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2394bec7ea8acaba6117de122016c77b3ef8beaf225cd7bb04de4a69c388ef57
BLAKE2b-256 checksum
How to use checksums
f1706f297ba711d21f9cc2d0657a060adb10c763380c1a7fc5df8079e8f4c12b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.10.18 Darwin/24.5.0

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page