Installation#

eqdisco requires Python 3.10 or newer and depends on NumPy, SciPy, SymPy, scikit-learn, pandas, NetworkX and matplotlib.

pip install eqdisco

Optional extras#

pip install "eqdisco[interactive]"   # plotly figures
pip install "eqdisco[mlflow]"        # logging of runs to MLflow
pip install "eqdisco[all]"           # both of the above
pip install "eqdisco[dev]"           # everything, plus pytest, ruff, build and twine

The language-model interface (eqdisco.LLMGuidedRegressor) does not depend on any provider: it takes a Python callable that maps a prompt to text, so the client library of the chosen provider is installed separately.

From source#

git clone https://github.com/ComplexSystemsIntelligence/eqdisco.git
cd eqdisco
pip install -e ".[dev]"
pytest

Building the documentation and the book#

python docs/build_api_pages.py
sphinx-build -b html docs docs/_build/html      # executes every gallery example
book/build.sh                                   # needs TeX Live with latexmk, biber and
                                                # the raleway, plex and libertinus packages