Installation¶
ZADU requires Python 3.10 or newer.
Base package¶
Install the default NumPy/SciPy execution path from PyPI:
The base package supports all 22 measures and installs NumPy, SciPy, scikit-learn, Numba, HDBSCAN, and threadpoolctl. Matplotlib, MLX, and PyTorch are optional.
Optional visualization¶
Install Matplotlib and ZADUVis helpers with:
See Visualization for an example.
Optional accelerator backends¶
Apple Silicon users can install MLX separately:
Install PyTorch support with:
Installing an accelerator does not select it. Set backend, device, and
dtype in ExecutionConfig; see Execution backends.
Development installation¶
Clone the repository and install an editable development environment:
Documentation dependencies are separate: