Installation

You can install gwlearn from PyPI or from conda-forge using the tool of your choice:

pip install gwlearn

Or from conda-forge:

conda install gwlearn -c conda-forge

Installing development version

You can either clone the repository:

git clone https://github.com/pysal/gwlearn.git
cd gwlearn
pip install .

Or install directly from Github:

pip install git+https://github.com/pysal/gwlearn.git

The package depends on:

geopandas>=1.1.0
joblib>=1.5.0
libpysal>=4.12
numpy>=2.0.0
scipy>=1.14.0
scikit-learn>=1.5.0
pandas>=2.3.0