You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

betacal

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

betacal

Beta calibration

1.1.0
PyPI
Maintainers
2

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

Keywords

classifier calibration

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts