Smooth periodic consistent quantile estimation
Project description
spcqe
Smooth (multi-) periodic consistent quantile estimation. We attempt to follow the sklearn "fit/transform" API, and the main class inherets TransformerMixin and BaseEstimator from sklearn.base.
Installation
The package is available on both PyPI and conda-forge.
pip installation:
pip install spcqe
conda installation:
conda install conda-forge::spcqe
You may also clone the repository to your local machine and install with pip by navigating to the project directory and running:
pip install .
If working on the files in this package (i.e. fixing bugs or adding features), it useful to install in editable mode:
pip install -e .
Usage
from spcqe.quantiles import SmoothPeriodicQuantiles
y1 = ... # some data with hourly measurement exhibiting daily, weekly, and yearly periodicities
P1 = int(365*24)
P2 = int(7*24)
P3 = int(24)
K = 3
l = 0.1
spq = SmoothPeriodicQuantiles(K, [P1, P2, P3], weight=l)
spq.fit(y1)
Examples
Many examples Jupyter notebooks are available in the notebooks folder.
Acknowledgement
This material is based upon work supported by the U.S. Department of Energy's Office of Energy Efficiency and Renewable Energy (EERE) under the Solar Energy Technologies Office Award Number 38529, "PVInsight".
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 spcqe-0.3.0.tar.gz.
File metadata
- Download URL: spcqe-0.3.0.tar.gz
- Upload date:
- Size: 80.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
063c3f9b9325e37ed0407cfc3a3b5d7ad90878d183479f88757b78d77e363601
|
|
| MD5 |
4d3ea3d542398c05474db3d8f246f16b
|
|
| BLAKE2b-256 |
13c970368b68bcf2dd78135c6cc462323798567f79ce3901a04e70357c5e6056
|
Provenance
The following attestation bundles were made for spcqe-0.3.0.tar.gz:
Publisher:
build.yml on cvxgrp/spcqe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spcqe-0.3.0.tar.gz -
Subject digest:
063c3f9b9325e37ed0407cfc3a3b5d7ad90878d183479f88757b78d77e363601 - Sigstore transparency entry: 173812195
- Sigstore integration time:
-
Permalink:
cvxgrp/spcqe@e1acbaadee95ef0a019253d4ecdb19b9b464709d -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/cvxgrp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@e1acbaadee95ef0a019253d4ecdb19b9b464709d -
Trigger Event:
release
-
Statement type:
File details
Details for the file spcqe-0.3.0-py3-none-any.whl.
File metadata
- Download URL: spcqe-0.3.0-py3-none-any.whl
- Upload date:
- Size: 22.2 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 |
06467a653be8c160ae945e832ea8f8295cae8683771421425ba6534b32cf7cdd
|
|
| MD5 |
e0ba672f400416d520a76f54497e2454
|
|
| BLAKE2b-256 |
945dbf9cf5718b4e2e40f2c6694caea0d66ce3c8853c92b98ff455b154126e77
|
Provenance
The following attestation bundles were made for spcqe-0.3.0-py3-none-any.whl:
Publisher:
build.yml on cvxgrp/spcqe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spcqe-0.3.0-py3-none-any.whl -
Subject digest:
06467a653be8c160ae945e832ea8f8295cae8683771421425ba6534b32cf7cdd - Sigstore transparency entry: 173812196
- Sigstore integration time:
-
Permalink:
cvxgrp/spcqe@e1acbaadee95ef0a019253d4ecdb19b9b464709d -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/cvxgrp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@e1acbaadee95ef0a019253d4ecdb19b9b464709d -
Trigger Event:
release
-
Statement type: