Installation¶
Requirements¶
Python 3.12 or higher
NumPy 1.20 or higher
Basic Installation¶
Install from PyPI using pip:
pip install rank_preserving_calibration
Development Installation¶
For development, clone the repository and install in editable mode:
git clone https://github.com/finite-sample/rank_preserving_calibration.git
cd rank_preserving_calibration
pip install -e .
Optional Dependencies¶
For running examples and notebooks:
pip install rank_preserving_calibration[examples]
For development and testing:
pip install rank_preserving_calibration[testing]
For all optional dependencies:
pip install rank_preserving_calibration[all]
Verification¶
To verify your installation, run:
import rank_preserving_calibration
print(rank_preserving_calibration.__version__)
You can also run the test suite:
python -m pytest tests/ -v