Skip to main content

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

Metadata

Release files for betacal 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for betacal 1.1.0
File Size Uploaded Provenance
betacal-1.1.0.tar.gz 3.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for betacal 1.1.0
File Interpreter ABI Platform
betacal-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / betacal-1.1.0.tar.gz

Download URL betacal-1.1.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fc425a0bf78a3b368d60d8b1e465ee4bc953c52440e04836eb5098a1b32d98cc
BLAKE2b-256 checksum
How to use checksums
f676edaa7f9688a8a1458063ec2495ef552d99a9186b01bbbd752e61391d8f8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

Release files / betacal-1.1.0-py3-none-any.whl

Download URL betacal-1.1.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7063c65fb7eb1b8d5bba4498f1f91aceb727e1ed0758e3bfc4b4b455715d023
BLAKE2b-256 checksum
How to use checksums
42414c21097cbf63a8081ab637f1ce064238ad3de9dd000ecd783e2fc81e90e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

Security for betacal 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page