Installation¶
flex-signal needs Python 3.11 or newer.
From source¶
flex-signal is not on PyPI yet. Install it from a clone:
git clone https://github.com/flex-pse/flex-signal.git
cd flex-signal
pip install -e .
The core install includes pandas, numpy, scipy, scikit-learn, statsmodels, pydantic, pyarrow and pandera. It does
not include torch, flex-pse, polars or Acquirium. import flexsignal never loads any of those.
Development environment¶
The conda environment installs flex-signal in editable mode with the development and documentation tools:
conda env create -f environment.yml
conda activate flex-signal
pre-commit install --hook-type pre-commit --hook-type pre-push
Without conda, use pip install -e ".[dev,docs,tutorials]" instead. The pre-commit hooks expect the flex-signal conda
environment.
Optional extras¶
Each heavy or specialised library is an optional extra, added in the milestone whose code uses it. Only
tutorials exists so far.
Extra |
Contents |
Milestone |
|---|---|---|
|
marimo (pinned) and matplotlib, to run the tutorials |
M1 |
|
pygrinder masking benchmarks |
M2 |
|
The latest flex-pse release (v0.3.0 today) with |
M3 |
|
skforecast, lightgbm |
M4 |
|
statsforecast, mlforecast |
M4 |
|
PyPOTS deep imputation and forecasting |
M5 |
|
neuralforecast |
M5 |
|
Chronos-2 zero-shot forecasting |
M5 |
|
pyod, ruptures, stumpy |
M5 |
|
Adapters to the darts and sktime model zoos |
M5 |
|
pint, pint-pandas |
M5 |
|
Acquirium client |
M7 |