Installation ============ ``eqdisco`` requires Python 3.10 or newer and depends on NumPy, SciPy, SymPy, scikit-learn, pandas, NetworkX and matplotlib. .. code-block:: bash pip install eqdisco Optional extras --------------- .. code-block:: bash 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 (:class:`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 ----------- .. code-block:: bash git clone https://github.com/ComplexSystemsIntelligence/eqdisco.git cd eqdisco pip install -e ".[dev]" pytest Building the documentation and the book --------------------------------------- .. code-block:: bash 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