A library for generating contextual timeseries data.
Project description
An open source project from Data to AI Lab at MIT.
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db45c9450772117ff71b46cef233d422c233548cd63e5b76e96b58f5c7739408
|
|
| MD5 |
ec5c4e0d9f2bbf30f832cc5bbaf64100
|
|
| BLAKE2b-256 |
c1747cddf2c0112bef2a2687192cca34674360e66712174da30d9fdb65928b0c
|
Provenance
The following attestation bundles were made for cents_ml-1.0.0.tar.gz:
Publisher:
publish.yml on DAI-Lab/Cents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cents_ml-1.0.0.tar.gz -
Subject digest:
db45c9450772117ff71b46cef233d422c233548cd63e5b76e96b58f5c7739408 - Sigstore transparency entry: 221689444
- Sigstore integration time:
-
Permalink:
DAI-Lab/Cents@30c93cf181e18d4a6a5d029ce35b929986c1e8b2 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/DAI-Lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@30c93cf181e18d4a6a5d029ce35b929986c1e8b2 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e149ad220f04781a043793847abbd18cc7153e203bee04cb01085047827538a4
|
|
| MD5 |
c130fa13660c9649c442bf47465b28c5
|
|
| BLAKE2b-256 |
41d7c6a4a322cf98ab9a43a8e9d8448fc46100fd61e97f5c7ae62c84a8ab3948
|
Provenance
The following attestation bundles were made for cents_ml-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on DAI-Lab/Cents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cents_ml-1.0.0-py3-none-any.whl -
Subject digest:
e149ad220f04781a043793847abbd18cc7153e203bee04cb01085047827538a4 - Sigstore transparency entry: 221689460
- Sigstore integration time:
-
Permalink:
DAI-Lab/Cents@30c93cf181e18d4a6a5d029ce35b929986c1e8b2 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/DAI-Lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@30c93cf181e18d4a6a5d029ce35b929986c1e8b2 -
Trigger Event:
push
-
Statement type: