semvec/pypi-packages huggingface dataset:
lndb_bfx_pipeline 0.1.0
Integrate LaminDB ingestion with bBFX pipelines.

# lndb-bfx-pipeline: Integrate LaminDB ingestion with BFX pipelines

This package is in private beta at this moment!

Follow https://twitter.com/laminlabs to learn about a first public release.

For beta users: Read the [docs](https://lamin.ai/docs/lndb-bfx-pipeline).
croston 0.1.2.4
croston model for intermittent time series

# croston
A python package to forecast intermittent time series using croston's method

[readthedocs: croston](https://croston.readthedocs.io/en/latest/)

example:
```

import numpy as np
import random
from croston import croston
import matplotlib.pyplot as plt


a = np.zeros(50)
val = np.array(random.sample(range(100,200), 10))
idxs = random.sample(range(50), 10)

ts = np.insert(a, idxs, val)

fit_pred = croston.fit_croston(ts, 10,'original')

yhat = np.concatenate([fit_pred['croston_fittedvalues'], fit_pred['croston_forecast']])

plt.plot(ts)
plt.plot(yhat)
```