Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Time-series Benchmark methods that are Simple and Probabilistic
Many methods exist for probabilistic forecasting. If you are looking for an impressive probabilistic forecasting package see the list of recommendation at the bottom of this README. This package is exceptionally ordinary. It is expected that this package may be used as a compliment to what is already out there.
We have found, by experience, many good uses for the methods in this package. To often we see that forecast methods go in production without a naive method to accompany it. This is a missed opportunity.
We show a quick example below.
For more examples see Simple Example, Extended Example
There are also some Notebook examples
import tablespoon as tbsp
from tablespoon.data import SEAS
sn = tbsp.Snaive()
df_sn = sn.predict(
SEAS, horizon=7 * 4, frequency="D", lag=7, uncertainty_samples=8000
).assign(model="snaive")
print(df_sn.head(10))
import tablespoon as tbsp
from tablespoon.data import APPL
n = tbsp.Naive()
df_n = n.predict(
APPL, horizon=7 * 4, frequency="D", lag=1, uncertainty_samples=8000
).assign(model="naive")
print(df_n.head(10))
ds rep y_sim model
0 2022-01-02 0 5.20006 naive
1 2022-01-02 1 5.16789 naive
2 2022-01-02 2 5.17641 naive
3 2022-01-02 3 5.19340 naive
4 2022-01-02 4 5.20075 naive
5 2022-01-02 5 5.17681 naive
6 2022-01-02 6 5.20302 naive
7 2022-01-02 7 5.18896 naive
8 2022-01-02 8 5.19622 naive
9 2022-01-02 9 5.17469 naive
numpy
.pip3 install tablespoon
If you would like to cite tablespoon
, please cite it as follows:
Alex Hallam. tablespoon: Time-series Benchmark methods that are Simple and Probabilistic https://github.com/alexhallam/tablespoon, 2022. Version 0.4.6.
@misc{tablespoon,
author={Alex Hallam},
title={{tablespoon}: {Time-series Benchmark methods that are Simple and Probabilistic},
howpublished={https://github.com/alexhallam/tablespoon},
note={Version 0.4.6,
year={2022}
}
There are many packages that can compliment tablespoon
forecast: The king of forecasting packages. Rob Hyndman is a professor of forecasting and has served as editor of the journal "International Journal of Forecasting". If you are new to forecasting please read his free ebook fpp3.
prophet: A very capable and reliable forecasting package. I have never seen a bad forecast come out of prophet.
gluonts. If you are itching to use neural nets for forecasting this is a good one to pick.
poetry publish -u <username> -p <password> --build
FAQs
Simple probabilistic time series benchmark models
We found that tablespoon demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.