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.

  • Documentation: (tbd)

Overview

Cents is a library built for generating synthetic household-level electric load and generation timeseries. Cents supports several generative time series models 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. Trained models can be evaluated using a series of metrics and visualizations also implemented here.

These currently supported models are:

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.

Also, although it is not strictly required, the usage of a virtualenv is highly recommended in order to avoid interfering with other software installed in the system in which Cents is run.

These are the minimum commands needed to create a virtualenv using python3.8 for Cents:

pip install virtualenv
virtualenv -p $(which python3.9) cents-venv

Afterwards, you have to execute this command to activate the virtualenv:

source cents-venv/bin/activate

Remember to execute it every time you start a new console to work on Cents!

Install from PyPI

After creating the virtualenv and activating it, we recommend using pip in order to install Cents:

pip install cents

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

Datasets

If you want to reproduce our models from scratch, you will need to download the PecanStreet DataPort dataset and place it under the path specified in 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.0.tar.gz (60.9 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.0-py3-none-any.whl (73.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cents_ml-1.0.0.tar.gz
  • Upload date:
  • Size: 60.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cents_ml-1.0.0.tar.gz
Algorithm Hash digest
SHA256 db45c9450772117ff71b46cef233d422c233548cd63e5b76e96b58f5c7739408
MD5 ec5c4e0d9f2bbf30f832cc5bbaf64100
BLAKE2b-256 c1747cddf2c0112bef2a2687192cca34674360e66712174da30d9fdb65928b0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cents_ml-1.0.0.tar.gz:

Publisher: publish.yml on DAI-Lab/Cents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: cents_ml-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 73.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cents_ml-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e149ad220f04781a043793847abbd18cc7153e203bee04cb01085047827538a4
MD5 c130fa13660c9649c442bf47465b28c5
BLAKE2b-256 41d7c6a4a322cf98ab9a43a8e9d8448fc46100fd61e97f5c7ae62c84a8ab3948

See more details on using hashes here.

Provenance

The following attestation bundles were made for cents_ml-1.0.0-py3-none-any.whl:

Publisher: publish.yml on DAI-Lab/Cents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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