Install¶
trustcv needs Python 3.10, 3.11 or 3.12.
This installs the splitters, checks, metrics and reporting, with scikit-learn as the only modelling dependency. Check the install:
Optional frameworks¶
Quote the brackets so shells such as zsh don't expand them.
| Command | Adds |
|---|---|
pip install "trustcv[pytorch]" |
PyTorch runner (TorchCVRunner) |
pip install "trustcv[tensorflow]" |
Keras runner (KerasCVRunner) and scikit-learn wrappers |
pip install "trustcv[monai]" |
MONAI runner for medical imaging |
pip install "trustcv[jax]" |
JAX/Flax runner |
pip install "trustcv[multilabel]" |
Iterative stratification for multilabel splitters |
pip install "trustcv[all]" |
All of the above, plus development tools |
From source¶
Next: the quickstart.