AM18_SPR20_LondonLAB
Package Description
The package contains one object Kami with four methods in the order of execution:
- Preprocess()
- Analyse(n_sample)
- Vis()
- Forecast(store_list, product_list, start, end)
To initiate the object Kami, the user is required to supply at least these three arguments:
- Path to the grouped product sales input data (input_f_path)
- Path to an intermediary folder to store intermediary data (cache_dir_path)
- Path to an output folder to store final predictions (output_dir_path)
While Preprocess and Vis methods are executed without any argument, Analyse method can be supplied with an optional argument n_sample which is the number of random samples drawn from the predefined training data.
Forecast method is required to be supplied with four arguments including:
- A list of stores whose sales are predicted (store_list)
- A list of products whose sales are predicted (product_list)
- The start date of the forecast (start)
- The end date of the forecast (end)
Typical Use Case
from Kami import Kami
obj = Kami(input_f_path = 'PATH_TO_SALES_DATA/SALES_DATA.csv',
output_dir_path = 'OUTPUT_FOLDER/',
cache_dir_path = 'CACHE_FOLDER/')
obj.Preprocess()
obj.Analyse()
obj.Vis()
obj.Forecast(store_list = ['STORE_A', 'STORE_B'],
product_list = ['PRODUCT_A', 'PRODUCT_B'],
start = 'MM/DD/YYYY',
end = 'MM/DD/YYYY')
Metadata
Release files for Kami 0.4.3
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 | |
|---|---|---|---|---|
| Kami-0.4.3.tar.gz | 9.9 kB | Without provenance | Details |
Release files / Kami-0.4.3.tar.gz
| Download URL | Kami-0.4.3.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6377ccb82767ecd155244eadb8f5fbb49c2361199157435eeb6c5f4e0c015b0e
|
|
BLAKE2b-256 checksum How to use checksums |
9d3bbe3a4187ada38578703bd07e6f2cd69f42598a4885a89d44d56f6d902804
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6
|
Security for Kami 0.4.3
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.