Install HiClass

To install HiClass from the Python Package Index (PyPI) simply run:

pip install hiclass

Additionally, it is also possible to install optional packages along. To install optional packages run:

pip install hiclass"[<extra_name>]"

<extra_name> can have one of the following options:

  • ray: Installs the ray package, which is required for parallel processing support.

  • xai: Installs the shap and xarray packages, which are required for explaining Hiclass’ predictions.

It is also possible to install HiClass using conda, as follows:

conda install -c conda-forge hiclass --yes

Note

We recommend using pip at this point to eliminate any potential dependency issues.