Installation¶
Requirements¶
- Python 3.11 or later
Standard install¶
With boosting libraries¶
LightGBM, XGBoost, and CatBoost are optional. Install the [boosting] extra to include them:
Without this extra, the pipeline runs all sklearn models only. The registry detects which libraries are available at import time — no configuration required.
With spatial inference¶
The geo module (h2ml.geo.geo_predict) depends on h2mare, available on PyPI via the [geo] extra:
Development setup¶
git clone https://github.com/h2ugoparra/h2ml
cd h2ml
uv sync --group dev
uv run pytest # run the test suite
uv run mkdocs serve # preview the docs locally