Project: betacal

Beta calibration

Project Details

Latest version
1.1.0
Home Page
https://betacal.github.io/
PyPI Page
https://pypi.org/project/betacal/

Project Popularity

PageRank
0.002097737925081937
Number of downloads
74767

Beta calibration - Python package

This package provides a BetaCalibration class which allows the user to fit any of our three proposed beta calibration models. For the paper and tutorials, check https://betacal.github.io/.

Dependencies

  • Numpy - NumPy is the fundamental package for scientific computing with Python.
  • Scikit-learn - Machine Learning in Python.

Usage

  • Install from pip using "pip install betacal"
  • Alternatively, download from the repository, cd to the folder and use "pip install ."
  • Once installed, import the package using "import betacal"

Unittest

Create a virtual environment with the necessary dependencies

virtualenv venv
. ./venv/bin/activate
pip install -r requirements.txt

and then run the script runtests.sh

bash runtests.sh

License

MIT