Skip to main content

Beta calibration

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

betacal-1.1.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

betacal-1.1.0-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page