Forecastability Analysis
This is a tool to implement forecastability analysis, including calculating:
- Frequency
- Stability
- Periodicity
- Percent of Products that single customer occupies over 50% demands
Input Data
| columname | type | note |
|---|---|---|
| date | string | yyyy-mm-dd or yyyy/mm/dd |
| sku_code | string | code of SKU |
| customer_code | string | code of customer |
| qty | float | demand quantity |
Usage:
import forecastability
fa = forecastability.Forecastability(data, tm="date")
# calculate frequency
fa.frequency()
# calculate stability
fa.stability()
# calculate periodicity
fa.periodicity()
# calculate single customer percent
fa.single_customer_percent()
# render forecastability report
fa.render("forecastability_report.html")
Reference:
[1] 时间周期序列周期性挖掘
[3] Hyndman, R. J., & Athanasopoulos, G. (2018). Forecasting: principles and practice. OTexts.
Metadata
Release files for forecastability 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| forecastability-0.0.6.tar.gz | 7.3 kB | Without provenance | Details for forecastability-0.0.6.tar.gz |
Release files / forecastability-0.0.6.tar.gz
| Download URL | forecastability-0.0.6.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d47cf75ab1cb0cfd86d450ca763ce2b8f449ff5ef9e7e4f8badbd7a1ae36bb82
|
|
BLAKE2b-256 checksum How to use checksums |
f3acfa1491d2e8d655feaa632223c210163d15e2ba35d9456e06ba167c620eea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.6
|
Security for forecastability 0.0.6
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.