Skip to main content

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".

Metadata

Release files for spcqe 0.3.0

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

Source distribution (sdist)

Source distribution for spcqe 0.3.0
File Size Uploaded Provenance Actions
spcqe-0.3.0.tar.gz 80.3 MB With provenance Details for spcqe-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for spcqe 0.3.0
File Interpreter ABI Platform Actions
spcqe-0.3.0-py3-none-any.whl Python 3 none any Details for spcqe-0.3.0-py3-none-any.whl

Total release size: 80.3 MB

Release files / spcqe-0.3.0.tar.gz

Download URL spcqe-0.3.0.tar.gz
Size 80.3 MB
Tags Source
SHA-256 checksum
How to use checksums
063c3f9b9325e37ed0407cfc3a3b5d7ad90878d183479f88757b78d77e363601
BLAKE2b-256 checksum
How to use checksums
13c970368b68bcf2dd78135c6cc462323798567f79ce3901a04e70357c5e6056
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 24, 2025.

Transparency log

Release files / spcqe-0.3.0-py3-none-any.whl

Download URL spcqe-0.3.0-py3-none-any.whl
Size 22.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06467a653be8c160ae945e832ea8f8295cae8683771421425ba6534b32cf7cdd
BLAKE2b-256 checksum
How to use checksums
945dbf9cf5718b4e2e40f2c6694caea0d66ce3c8853c92b98ff455b154126e77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 24, 2025.

Transparency log

Security for spcqe 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for spcqe-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 24, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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