项目作者: betacal

项目描述 :
Beta calibration
高级语言: Jupyter Notebook
项目地址: git://github.com/betacal/python.git
创建时间: 2017-03-01T16:56:27Z
项目社区:https://github.com/betacal/python

开源协议:MIT License

下载


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

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

and then run the script runtests.sh

  1. bash runtests.sh

License

MIT

[Numpy]: http://www.numpy.org
[Scikit-learn]: http://scikit-learn.org